Skip to content

Index

sgp.models.__all__ module-attribute

__all__ = ['ANN', 'MPD', 'Model']

sgp.models.ANN

Bases: PredictionBase

Artificial Neural Network (ANN) model.

sgp.models.MPD

Bases: PredictionBase

Multivariate Distribution (MPD) model.

sgp.models.MPD.corr_bootstrap

corr_bootstrap(X: ndarray) -> ndarray

Calculate the correlation matrix.

sgp.models.MPD.dist

Get the distributional results.

sgp.models.MPD.fit

fit()

Fit the Johnson distribution to the data.

RETURNS DESCRIPTION
A tuple containing the distributions, the optimization results, the statistics, and the p-values.

sgp.models.MPD.optimize

optimize(df: DataFrame, *, method: Optimizers, **kwargs)

Optimize the z-value for the Johnson distribution.

sgp.models.Model

The prediction model

sgp.models.Model.__init__

__init__(io: SGPIO)

Initialize the model.