org.nd4j.linalg.dimensionalityreduction
Class PCA
- java.lang.Object
-
- org.nd4j.linalg.dimensionalityreduction.PCA
-
public class PCA extends java.lang.ObjectPCA class for dimensionality reduction
-
-
Constructor Summary
Constructors Constructor and Description PCA()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static INDArraypca(INDArray X, int nDims, boolean normalize)Reduce the dimension of x to the specified number of dimensions.
-
-
-
Method Detail
-
pca
public static INDArray pca(INDArray X, int nDims, boolean normalize)
Reduce the dimension of x to the specified number of dimensions. Happily based on the great work done in the tsne paper here: http://homepage.tudelft.nl/19j49/t-SNE.html- Parameters:
X- the x to reducenDims- the number of dimensions to reduce tonormalize- normalize- Returns:
- the reduced dimension
-
-
DMelt 3.0 © DataMelt by jWork.ORG