astronomaly.dimensionality_reduction package

Submodules

astronomaly.dimensionality_reduction.pca module

class astronomaly.dimensionality_reduction.pca.PCA_Decomposer(n_components=0, threshold=0, **kwargs)

Bases: astronomaly.base.base_pipeline.PipelineStage

save_pca(features)

Stores the mean and components of the PCA to disk. Makes use of the original features information to label the columns.

Parameters:features (pd.DataFrame or similar) – The original feature set the PCA was run on.

astronomaly.dimensionality_reduction.truncated_svd module

class astronomaly.dimensionality_reduction.truncated_svd.Truncated_SVD_Decomposer(n_components=0, **kwargs)

Bases: astronomaly.base.base_pipeline.PipelineStage

save_svd(features)

Stores the mean and components of the truncated SVD to disk. Makes use of the original features information to label the columns.

Parameters:features (pd.DataFrame or similar) – The original feature set the truncated SVD was run on.

Module contents