Skip to content

Commit f704eef

Browse files
authored
Update PCA_sklearn.py
1 parent 7c91628 commit f704eef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PCA/PCA_sklearn.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from sklearn.preprocessing import StandardScaler
66
from sklearn.decomposition import PCA
77

8+
# This dataset is provided in this repository.
89
# Update the path below to your local path where the dataset is located
910
dataset = pd.read_csv("/content/drive/MyDrive/Digit Recognizer Dataset/train.csv")
1011

@@ -70,4 +71,4 @@ def plot_2D_pca(X_pca, y_train):
7071
fig.update_traces(marker=dict(size=5))
7172
fig.show()
7273

73-
plot_2D_pca(X_pca_2d, y_train)
74+
plot_2D_pca(X_pca_2d, y_train)

0 commit comments

Comments
 (0)