Loading...

Decomposition#


PCA#

decomposition.PCA(principal_components, mean)

InMemoryModel implementation of the PCA algorithm.

Methods:

PCA.get_attributes()

Returns the model attributes.

PCA.matrix_rotation(Phi[, gamma, q, tol])

Performs an Oblimin (Varimax, Quartimax) rotation on the input matrix.

PCA.rotate([gamma, q, tol])

Performs an Oblimin (Varimax, Quartimax) rotation on the PCA matrix.

PCA.set_attributes(**kwargs)

Sets the model attributes.

PCA.transform(X)

Transforms and applies the PCA model to the input matrix.

PCA.transform_sql(X)

Transforms and returns the SQL needed to deploy the PCA model.

Attributes:

PCA.object_type

Must be overridden in child class


SVD#

decomposition.SVD(vectors, values)

InMemoryModel implementation of the SVD Algorithm.

Methods:

SVD.get_attributes()

Returns the model attributes.

SVD.set_attributes(**kwargs)

Sets the model attributes.

SVD.transform(X)

Transforms and applies the SVD model to the input matrix.

SVD.transform_sql(X)

Transforms and returns the SQL needed to deploy the SVD model.

Attributes:

SVD.object_type

Must be overridden in child class