Package io.trino.plugin.ml
Class SvmRegressor
java.lang.Object
io.trino.plugin.ml.AbstractSvmModel
io.trino.plugin.ml.SvmRegressor
-
Field Summary
Fields inherited from class io.trino.plugin.ml.AbstractSvmModel
model, params -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SvmRegressordeserialize(byte[] modelData) protected intgetType()doubleregress(FeatureVector features) Methods inherited from class io.trino.plugin.ml.AbstractSvmModel
getSerializedData, toSvmNodes, trainMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.plugin.ml.Model
getSerializedData, train
-
Constructor Details
-
SvmRegressor
public SvmRegressor() -
SvmRegressor
public SvmRegressor(libsvm.svm_parameter params)
-
-
Method Details
-
deserialize
-
regress
-
getType
-
getLibsvmType
protected int getLibsvmType()- Specified by:
getLibsvmTypein classAbstractSvmModel
-