converters.sklearn._logistic_regression

Module Contents

Functions

convert(model,feature_names,target) Convert a Logistic Regression model to the protobuf spec.
_convert(model,feature_names,target)
supports_output_scores(model)
get_output_classes(model)
get_input_dimension(model)
convert(model, feature_names, target)

Convert a Logistic Regression model to the protobuf spec. Parameters ———- model: LogisticRegression

A trained LogisticRegression model.
feature_names: [str], optional (default=None)
Name of the input columns.
target: str, optional (default=None)
Name of the output column.
model_spec: An object of type Model_pb.
Protobuf representation of the model
_convert(model, feature_names, target)
supports_output_scores(model)
get_output_classes(model)
get_input_dimension(model)