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

metbit.pretreatment

Preprocess data matrix.

import metbit.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/pretreatment.py at 1.4.2
Downloads for metbit 1.4.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.4.2 documentation