preprocessing#

Implementation for using sklearn preprocessing object in a Guobi model.

Functions

add_polynomial_features_constr(gp_model, ...)

Formulate polynomial_features into gp_model.

add_standard_scaler_constr(gp_model, ...)

Formulate standard_scaler into gp_model.

sklearn_transformers()

Return dictionary of Scikit Learn preprocessing objects.

Classes

PolynomialFeaturesConstr(gp_model, ...)

Class to formulate a trained sklearn.preprocessing.PolynomialFeatures in a gurobipy model.

StandardScalerConstr(gp_model, scaler, ...)

Class to formulate a fitted sklearn.preprocessing.StandardScaler in a gurobipy model.