glmdisc¶
This module is dedicated to preprocessing tasks for logistic regression and post-learning graphical tools.
|
This class implements a supervised multivariate discretization method, factor levels grouping and interaction discovery for logistic regression. |
Perform is_fitted validation for estimator. |
|
Returns the best quantization found by the MCMC and prints it. |
|
Returns the best discrete data (train, validation or test) found by the MCMC. |
|
|
Discretizes new continuous and categorical features using a previously fitted glmdisc object. |
|
Discretizes new continuous and categorical features using a previously fitted glmdisc object as Dummy Variables usable with the best_reglog object. |
|
Fits the Glmdisc object. |
|
Plots the stepwise function associating the continuous features to their discretization, the groupings made and the interactions. |
|
Predicts the label values with new continuous and categorical features using a previously fitted glmdisc object. |
|
Generates some toy continuous data that gets discretized, and a label is drawn from a logistic regression given the discretized features. |
Exception class to raise if estimator is used before fitting. |
Classes
|
This class implements a supervised multivariate discretization method, factor levels grouping and interaction discovery for logistic regression. |
Exceptions
Exception class to raise if estimator is used before fitting. |