File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Example learning task, we report the lines of code needed to perform a PCA followed by a SVM classification.
2
+ # In particular, we detail the operational steps needed to project the samples of a UCI5 dataset on the cartesian plane
3
+ # generated by the first two principal components, to train a kernel SVM on the projected data and to test
4
+ # the trained model on the same data.
5
+ #
6
+ # The dataset chosen for this dimensionality reduction example is the Iris dataset, collecting 150 observations
7
+ # of 3 different classes of iris flowers, each described by 4 attributes.
8
+ # As a working example illustrating the use of the library in a simple machine
9
+
1
10
##http://www.researchgate.net/publication/221667696_mlpy_Machine_Learning_Python
2
11
3
12
iris .shape # 2d numpy array, 150 observations and 4 attributes (150, 4)
You can’t perform that action at this time.
0 commit comments