Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xpred.rpart malfunction #50

Open
aidacm opened this issue Jun 15, 2023 · 0 comments
Open

xpred.rpart malfunction #50

aidacm opened this issue Jun 15, 2023 · 0 comments

Comments

@aidacm
Copy link

aidacm commented Jun 15, 2023

Hi there!

I am trying to use the xpred.rpart function to generate an R2/AUC value for cross validation in order to stablish the best cp value but I have had some trouble with it.

In particular, in some cases, when the cp takes "small" values, the values generated by the function (i.e., the predicted values/class) do not make sense.

See the head of the generated matrix below:
image

As it can be seen, the first five columns contain values that make sense but, from the sixth on, they all contain zeros.

Is there a way to work this around?

Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant