CategoricalPredictor

class CategoricalPredictor(val field: Field, val coefficient: Double, val value: Any) extends RegressionPredictor

Defines a categorical independent variable. The list of attributes comprises the name of the variable, the value attribute, and the coefficient by which the values of this variable must be multiplied.

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 value: Any