Sklearn matrix factorization¶
Path | pimlico.modules.sklearn.matrix_factorization |
Executable | yes |
Todo
Document this module
Todo
Replace check_runtime_dependencies() with get_software_dependencies()
Inputs¶
Name | Type(s) |
---|---|
matrix | ScipySparseMatrix |
Outputs¶
Name | Type(s) |
---|---|
w | NumpyArray |
h | NumpyArray |
Options¶
Name | Description | Type |
---|---|---|
class | (required) | ‘NMF’, ‘SparsePCA’, ‘ProjectedGradientNMF’, ‘FastICA’, ‘FactorAnalysis’, ‘PCA’, ‘RandomizedPCA’, ‘LatentDirichletAllocation’ or ‘TruncatedSVD’ |
options | Options to pass into the constructor of the sklearn class, formatted as a JSON dictionary (potentially without the {}s). E.g.: ‘n_components=200, solver=”cd”, tol=0.0001, max_iter=200’ | string |