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.

How to get confusion matrix when carrying out classification cross-validation

gwingwin Member Posts: 4 Learner I
edited October 2021 in Help
Hello,

I have been trying to get my confusion matrix from when carrying out K means cross validation for my data set but it has been abortive. Can anyone help?
I have attached my process below.
Thank you.

Best Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,527 RM Data Scientist
    Solution Accepted
    Hi,
    try to turn off the parallelization of cross validation. Then you can see the last iteration's value.

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • gwingwin Member Posts: 4 Learner I
    Solution Accepted
    Hello,

    It worked!

    Thanks a lot for this.

    Best Regards,

    Godwin

Answers

  • gwingwin Member Posts: 4 Learner I
    hello,

    So sorry I mixed things up, what I was doing was classification matrix (I later did K-Means but not for this process). But my question is why I could my cross-validation tool (during classification) not carry out my test and training set(at the same time) and bring out a confusion matrix table. When I tried looking for the performance vector (in my testing panel) from the performance tool, it seem not to bring out the performance vector option so that I can see the confusion matrix. (I hope this is clear).

    I have attached the process again.

    Best Regards,

    Godwin
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,527 RM Data Scientist
    Hi,
    maybe just because you did not connect the per port of x-validation to the right hand side?

    Cheers,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • gwingwin Member Posts: 4 Learner I
    Hello,

    Thanks for the speedy response.
    And yes that works for me if I want to get only the confusion matrix but then my professor's version can get the matrix even when he connects mod (instead of per) to res (and then right-click the performance inside the cross-validation to see the performance vector but I can't see it in mine when I follow the same steps).

    I hope it is clear.

    Godwin
Sign In or Register to comment.