Shorthand for the input / output type of the Row) method.
Shorthand for the input / output type of the Row) method. Equivalent to Seq[Any].
Allows the transformer to specify if the apply method can handle null values in the input row.
Allows the transformer to specify if the apply method can handle null values in the input row.
e.g. a Null value replacement transformer, or a Naive Bayes transformer would naturally handle null values, but a Linear Regression transformer would not.
Default value is false.
Boolean indicating tolerance for null values in input.
This method should be implemented with speed and garbage collection in mind, as it called once per row on potentially huge data-sets.
This method should be implemented with speed and garbage collection in mind, as it called once per row on potentially huge data-sets.
This method is not required to be thread-safe.
The row of input to be scored.
The result from applying the trained model to the row.
Applies a Linear Regression model specified by the coefficients and intercept to a row of numeric data.
Note that in the input row is wrapped in CastedDoubleSeq, so the input elements must be castable as java.lang.Number.