module grammar_sklearn.g_sklearn_preprocessing
¶
Short summary¶
module mlprodict.grammar_sklearn.g_sklearn_preprocessing
Converters from scikit-learn model.
Functions¶
function |
truncated documentation |
---|---|
Converts a standard scaler … |
Documentation¶
Converters from scikit-learn model.
- mlprodict.grammar_sklearn.g_sklearn_preprocessing.sklearn_standard_scaler(model, input_names=None, output_names=None, **kwargs)¶
Converts a standard scaler model into a grammar model (semantic graph representation).
- Parameters
model – scikit-learn model
input_names – name of the input features
output_names – name of the output predictions
kwargs – additional parameters (none)
- Returns
graph model
If input is None or output is None, default values will be given to the outputs
['Prediction', 'Score']
for the outputs. If input_names is None, it wil be'Features'
.No additional parameters is considered.