July 2017
Intermediate to advanced
382 pages
9h 13m
English
Other useful dimensionality reduction techniques that are closely related to PCA are provided by scikit-learn, but not OpenCV. We mention them here for the sake of completeness. Independent Component Analysis (ICA) performs the same mathematical steps as PCA, but it chooses the components of the decomposition to be as independent as possible from each other.
In scikit-learn, ICA is available from the decomposition module:
In [8]: from sklearn import decompositionIn [9]: ica = decomposition.FastICA()
As seen before, the data transformation happens in the function fit_transform:
In [10]: X2 = ica.fit_transform(X)
In our case, plotting the rotated data leads to a similar result as achieved ...
Read now
Unlock full access