Dimensionality Reduction, Pca, Machine Learning, Lda, Curse Of Dimensionality.
sklearn.decomposition import PCA import matplotlib.pyplot as plt import seaborn as sns ## Reading the data wine = pd.read_csv('dataset-path') wine.head() ## Splitting data into independent and dependent features X, y = wine.drop('quality', axis=1), wine['quality'] ## Method 1 pca = PCA() pca.fit(X)