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

Predict class mismatch when using Probabilities = TRUE #1

Open
actuarial-lonewolf opened this issue May 20, 2021 · 0 comments
Open

Comments

@actuarial-lonewolf
Copy link

Hi,

I've been playing around the WeightSVM package and noticed something odd.

I trained a model, on a three-class dataset, using the option probability = TRUE

I then tried to predict on a new data set.

In the predict function,

  • when specifying probability = FALSE, I get a class prediction for every row.
  • when specifying probability = TRUE, the class predictions are much different than the previous one.

Is this normal behavior?
It looks like the cutoff is different in the two methods?

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