Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
questions on "Apply Model" operator and predicted label
huaiyanggongzi
Member Posts: 39 Contributor II
in Help
I use "Apply Model" operator to predict the test data set. The generated results normally includes three types of information ( confidence (positive class), confidence (negative class), predicted label).
Naturally, when confidence (positive class) is larger than confidence (negative class), the prediction label is positive.
But I found a lot of cases ( using libsvm for text classification), even when confidence (positive ) is smaller than confidence (negative class), the prediction label is still positive. I would like to know why?
Naturally, when confidence (positive class) is larger than confidence (negative class), the prediction label is positive.
But I found a lot of cases ( using libsvm for text classification), even when confidence (positive ) is smaller than confidence (negative class), the prediction label is still positive. I would like to know why?
0
Answers
Best regards,
Marius
the following is the result of running the "apply model" operator. The model was training using LIBSVM operator. I just posted part of the result which shows the observation I mentioned in the original post, i.e., even the confidence (R) is smaller than confidence (NR), the prediction is still R.
confidence(R) confidence(NR) Prediction(Label)
0.528462399 0.471537601 R
0.524106922 0.475893078 R
0.516740761 0.483259239 R
0.509868083 0.490131917 R
0.505252829 0.494747171 R
0.493653526 0.506346474 R
0.485416242 0.514583758 R
0.475031465 0.524968535 R
0.466340913 0.533659087 R
0.459370807 0.540629193 R
0.458747466 0.541252534 R
0.4577908 0.5422092 R
0.435570459 0.564429541 R
0.432716957 0.567283043 R
0.42963305 0.57036695 R
0.422826691 0.577173309 R
0.412345117 0.587654883 R
0.404687872 0.595312128 R
0.40221958 0.59778042 R
0.39865042 0.60134958 R
0.398228918 0.601771082 R
Best regards,
Marius
Best regards,
Marius
By the way, do you know how to output the distance between a given test data point and the hyperplane constructed by training data set? I am also referring to the LiBSVM operator in Rapidminer.
Best regards,
Marius