提交 f021ad57 编写于 作者: HansBug's avatar HansBug 😆

doc(hansbug): add image and following links

上级 b738fc73
......@@ -60,8 +60,6 @@ gen
### Images template
# JPEG
*.jpg
*.jpeg
*.jpe
*.jif
*.jfif
......
......@@ -6,7 +6,12 @@ In the following part, a demo of PCA to tree-structured arrays will be shown.
In the field of traditional machine learning, PCA (Principal Component Analysis) is often used to preprocess data,
by normalizing the data range, and trying to reduce the dimensionality of the data, so as to reduce the complexity
of the input data and improve machine learning's efficiency and quality.
of the input data and improve machine learning's efficiency and quality. Just as the following image
.. figure:: heading_of_pca.jpg
:alt: PCA Principle
PCA in a nutshell. Source: Lavrenko and Sutton 2011, slide 13.
In the scikit-learn library, the PCA class is provided to support this function, and the function ``fit_transform``
can be used to simplify the data. For a set of ``np.array`` format data that presents a tree structure,
......@@ -23,3 +28,8 @@ The output should be
:language: text
:linenos:
For further information, see the links below:
* `Official documentation of PCA in scikit-learn <https://scikit-learn.org/stable/modules/generated/sklearn.decomposition.PCA.html?highlight=pca#sklearn.decomposition.PCA>`_
* `Details of PCA <https://devopedia.org/principal-component-analysis>`_
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册