com.alpine.model.pack.preprocess
This should return a representative class from every jar that is needed to load the object during deserialization.
This should return a representative class from every jar that is needed to load the object during deserialization.
Default implementation returns the class of MLModel, and the class of the model implementation.
Used to identify this model when in a collection of models.
Used to identify this model when in a collection of models. Should be simple characters, so it can be used in a feature name.
identifier for the model.
Model that creates output features that are polynomial combinations of the input features.
We use java.lang.Double for the type of the numeric values, because the scala Double type information is lost by scala/Gson and the deserialization fails badly for edge cases (e.g. Double.NaN).
If the exponents are a matrix [0.5,3,2 Then the transformation of a row (x1, x2, x3) will be (y1, y2) = (x1 * x2 pow 2, sqrt(x1) * x2 pow 3 * x3 pow 2).