Home
Discussions
Community Q&A
ROC with PCA
Amin_fakhar
I am gonna show a comparison KNN model before and after applying PCA through ROC but get this error, can anyone help me?
Find more posts tagged with
AI Studio
AUC ROC
k-NN
Cross Validation
Compare Models
Principal Component Analysis (PCA)
Accepted answers
All comments
lionelderkrikor
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
PCA_kNN_Comapre_ROC.rmp
Amin_fakhar
Hi
@lionelderkrikor
,
Yes, great thanks, it works, thank u so much for your attention.
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)