Skip to content

Commit 2d9401f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2538f38 commit 2d9401f

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

machine_learning/principal_component_analysis.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
"""
2-
Principal Component Analysis (PCA) is an unsupervised learning
3-
algorithm that is used for the dimensionality reduction in machine
4-
learning. It is a statistical procedure that uses an orthogonal
5-
transformation to convert a set of observations of possibly correlated
6-
variables into a set of values of linearly uncorrelated variables called
7-
principal components.
2+
Principal Component Analysis (PCA) is an unsupervised learning
3+
algorithm that is used for the dimensionality reduction in machine
4+
learning. It is a statistical procedure that uses an orthogonal
5+
transformation to convert a set of observations of possibly correlated
6+
variables into a set of values of linearly uncorrelated variables called
7+
principal components.
88
9-
Data: The data used for PCA is a set of 500 data points, each with 4
10-
features. The data is assumed to be in normal form.
9+
Data: The data used for PCA is a set of 500 data points, each with 4
10+
features. The data is assumed to be in normal form.
1111
12-
Reference: https://en.wikipedia.org/wiki/Principal_component_analysis
12+
Reference: https://en.wikipedia.org/wiki/Principal_component_analysis
1313
1414
"""
15+
1516
import numpy as np
1617

1718

0 commit comments

Comments
 (0)