🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

[SOLVED]The prediction score are different between the Rapidminer and Libsvm

User: "winecoding"
New Altair Community Member
Updated by Jocelyn
I ran the SVM classification using both Rapidminer and Libsvm against the same data set. In the rapidminer, I also used the libsvm implementation. The document processing scheme and svm parameter setting are exactly the same for both experiment. However, the generated score are different. Are there any possible reasons to cause this kind of different?

Find more posts tagged with

Sort by:
1 - 7 of 71
    User: "MariusHelf"
    New Altair Community Member
    What exactly do you mean by scoring? How did you evaluate it? If you have a RapidMiner process, please post it here.
    Maybe it's also a version issue: I am not absolutely sure, but by a first quick glance it seems that the version of libSVM integrated into RapidMiner is based on v2.84.
    Finally, what are the actual scores that you retrieved?

    Best,
    Marius
    User: "MariusHelf"
    New Altair Community Member
    Hi,

    your processes look fine. Actually I don't know why exactly the confidences are different. Which version of libSVM are you using?
    Did you use exactly the same training and test data with the same preprocessing for training and applying the SVM from the library?

    Best, Marius
    User: "winecoding"
    New Altair Community Member
    OP
    Hi,
    Besides using libsvm module in Rapidminer, I used libsvm(version 3.12) as the comparison. Both experiments used the same training and test data set. The data pre-processing steps are also the same for both experiments.
    User: "MariusHelf"
    New Altair Community Member
    Then you are using a different major version of libSVM than is integrated into RapidMiner. That could play a role in the different values. Furthermore, I saw that there are different methods for getting predictions, like predict_values, predict_sigmoid_values etc. Maybe you (or the tool you are using) use different methods than RapidMiner does. I am not an expert for the details of the libSVM though, but you can have a look at the implementation in the class LibSVMModel in the RapidMiner source code.
    User: "winecoding"
    New Altair Community Member
    OP
    Marius, Thanks. I changed the option from "confidence to multiclass" to "confidence calculation".
    User: "MariusHelf"
    New Altair Community Member
    And, just for the records, now the results are equal?
    User: "winecoding"
    New Altair Community Member
    OP
    yes, the SVM score gotten from Rapidminer matches the LIBSVM command line very well. Thanks.