Trying PCA on the IRIS dataset in sklearn

Trying PCA on the IRIS dataset in sklearn

di SHAKIBA FARJOOD FASHALAMI -
Numero di risposte: 1

In this activity, after transforming the data by using PCA for dimensionality reduction, I fitted KNN algorithm on the data and the transformed one and eventually I computed "Train and Test accuracy changes".

In riposta a SHAKIBA FARJOOD FASHALAMI

Re: Trying PCA on the IRIS dataset in sklearn

di SHAKIBA FARJOOD FASHALAMI -
In this activity, I used IRIS dataset and after fitting KNN algorithm on the data and the transformed ones with PCA method (Dimensionality Reduction), I compared the Train and Test Accuracy Changes. In 3 features we didn’t have noticeable improvement, however 1 feature deteriorates the accuracy, while considering 2 features boosts it.