converters.sklearn._SVR

Module Contents

Functions

_generate_base_svm_regression_spec(model) Takes an SVM regression model produces a starting spec using the parts.
convert(model,features,target) Convert a Support Vector Regressor (SVR) model to the protobuf spec.
get_input_dimension(model)
_generate_base_svm_regression_spec(model)

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

convert(model, features, target)

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

A trained SVR encoder 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
get_input_dimension(model)