The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
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