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

Compare ROC and Normalization use - getting different results

inbarikuinbariku Member Posts: 1 Learner I
Hi,
I'd like to better understand the use of Compare ROC operator:
I'm using it to compare 3 classifiers: SVM, KNN and Logistic regression, on the Titanic dataset.

In the 1st scenario, I'm using normalize operator before the compare ROC input port.
In the 2nd scenario, I'm using the normalize operator inside the compare ROC operator. (only on the KNN and SVM, as the Logit don't require normalization. however, adding it to the Logit as well, changed it's ROC curve, and it shouldn't....)
In both cases, I'm setting the number of folds to be (-1), so I can look at it as a train/test split and not cross validation.

I'm getting different results for these 2 cases. why is that?

Also, from what I know, the best practice is to normalize the training data and testing data separately. how can I achieve that using the compare ROC operator?

attached are .rmp files for both scenarios described above.

Thanks!
Tagged:
Sign In or Register to comment.