/
You are viewing the documentation for metbit 1.0.2. Change release context

metbit.multivariate.opls.pretreatment

Preprocess data matrix.

import metbit.multivariate.opls.pretreatment

Classes

Scaler

A scaler to scale data matrix

Methods

__init__(self, scaler: str='pareto')
fit(self, x: np.ndarray)

Fit scaler model. :param x: variable matrix for scaling and parameter setup :return: Scaler object and scaled X

scale(self, x: np.ndarray)

Scale the x based on the parameters obtained in fit :param x: variable matrix with size n samples by p variables :return: scaled x

Source

metbit/multivariate/opls/pretreatment.py at V1.0.2
Downloads for metbit 1.0.2PyPI and GitHub measure different distribution channels. Statistics refresh daily.

Counts are distribution activity, not unique users. GitHub source archives and Git clones are not included. Sources: PyPI Stats, Pepy, ClickPy, and GitHub Releases.

metbit 1.0.2 documentation