converters.sklearn._SVC

Module Contents

Functions

_generate_base_svm_classifier_spec(model) Takes an SVM classifier produces a starting spec using the parts. that are
convert(model,feature_names,target) Convert a Support Vector Classtion (SVC) model to the protobuf spec.
supports_output_scores(model)
get_output_classes(model)
get_input_dimension(model)
_generate_base_svm_classifier_spec(model)

Takes an SVM classifier produces a starting spec using the parts. that are shared between all SVMs.

convert(model, feature_names, target)

Convert a Support Vector Classtion (SVC) model to the protobuf spec. Parameters ———- model: SVC

A trained SVC encoder 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
supports_output_scores(model)
get_output_classes(model)
get_input_dimension(model)