NumericPredictor

class NumericPredictor(val field: Field, val coefficient: Double, val exponent: Int) extends RegressionPredictor

Defines a numeric independent variable. The list of valid attributes comprises the name of the variable, the exponent to be used, and the coefficient by which the values of this variable must be multiplied. Note that the exponent defaults to 1, hence it is not always necessary to specify. Also, if the input value is missing, the result evaluates to a missing value.

trait Evaluator
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def eval(series: Series): Double

Inherited methods

override def asDouble(series: Series): Double
Definition Classes
Inherited from:
RegressionEvaluator
Inherited from:
HasExtensions
def hasExtensions: Boolean
Inherited from:
HasExtensions

Concrete fields

val coefficient: Double
val exponent: Int