PCA On IRIS Dataset With Classification Using KNNC
In this repository you will find the IRIS Dataset with dimensions150 X 4 .
- After performing PCA on we will get four Principal Componenets.Then the resultant bargraph of the Principal Componenets is:
- Since the first two principal components have high variance we will select them for dimensionality reduction.
- After dimensionality reduction, the dataset will be 150 X 2.The scatter plot of two principal components is shown below:
Here comes the classification of IRIS Dataset using KNN Classifier.
- The classification accuracy before PCA is shown below:
- The classification accuracy before PCA is shown below: