paradance.pipeline.LogarithmPCAPipeline
- class paradance.pipeline.LogarithmPCAPipeline(dataframe: DataFrame | None = None, config_path: str | None = None, n_trials: int = 200)[source]
Pipeline for processing and optimizing PCA with logarithmic transformations.
This pipeline extends the BasePipeline class to implement a specific process for optimizing Principal Component Analysis (PCA) with logarithmic transformations, particularly focusing on self-balancing mechanisms.
- dataframe
The loaded dataset in a pandas DataFrame.
- Type:
pd.DataFrame
- calculator
Calculator for PCA operations.
- Type:
- objective
The optimization objective.
- Type:
- __init__(dataframe: DataFrame | None = None, config_path: str | None = None, n_trials: int = 200) None[source]
Initializes the pipeline with configuration and trial settings.
Methods
__init__([dataframe, config_path, n_trials])Initializes the pipeline with configuration and trial settings.
Plots the logarithmic distributions of the dataset.
This method updates the PCA weights in the calculator's PCA component and then plots the distribution based on these updated weights.
run()Run the main execution flow of the pipeline.
Displays the results of the optimization process.