converters.sklearn._LinearSVC

Module Contents

Functions

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

Convert a LinearSVC model to the protobuf spec. Parameters ———- model: LinearSVC

A trained LinearSVC model.
feature_names: [str]
Name of the input columns.
target: str
Name of the output column.
model_spec: An object of type Model_pb.
Protobuf representation of the model
supports_output_scores(model)
get_output_classes(model)
get_input_dimension(model)