You are viewing the documentation for metbit 9.0.0. Change release context
metbit.stats.normalise
Statistics and utilities module in metbit 9.0.0.
import metbit.stats.normaliseClasses
Normality_distribution
Methods
__init__(self, data: pd.DataFrame)
plot_distribution(self, feature: str)
pca_distributions(self)
Normalise
Methods
__init__(self, data: pd.DataFrame, compute_missing: bool=True)
pqn_normalise(self, ref_index: list=None, plot: bool=True)
decimal_place_normalisation(self, decimals: int=2)
This function returns the dataframe with values rounded to a specified number of decimal places.
Parameters
decimalsintThe number of decimal places to round to.
z_score_normalisation(self)
This function returns the dataframe normalized using Z-Score.
linear_normalisation(self)
This function returns the dataframe normalized using Min-Max (linear normalization).
normalize_to_100(self)
This function returns the dataframe with values normalized to 100.
clipping_normalisation(self, lower: float, upper: float)
This function returns the dataframe with values clipped to the specified range.
Parameters
lowerfloatThe lower bound for clipping.
upperfloatThe upper bound for clipping.
standard_deviation_normalisation(self)
This function returns the dataframe normalized using Standard Deviation.