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

ROC with PCA

Amin_fakharAmin_fakhar Member Posts: 2 Learner I
I am gonna show a comparison KNN model before and after applying PCA through ROC but get this error, can anyone help me?

Answers

  • lionelderkrikorlionelderkrikor RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn
    Hi @Amin_fakhar,

    Two items : 

     1. You don't need to implement Cross Validation operators inside the Compare ROC operator. The Compare ROC operator itself
    performs a k-fold cross validation to calculate the ROC curves. (just set the number of folds k in the Compare ROC parameters)
    2. To avoid the error you describe, please use the Group Models operator for PCA and kNN.

    Check the working process in attached file and adapt it to your own data.

    Hope this helps,

    Regards,

    Lionel
  • Amin_fakharAmin_fakhar Member Posts: 2 Learner I
    edited May 2020
    Hi @lionelderkrikor ,
    Yes, great thanks, it works, thank u so much for your attention. 
Sign In or Register to comment.