KNNInput

class KNNInput(val field: Field, val compareFunction: Option[CompareFunction], val fieldWeight: Double) extends PmmlElement
Value parameters:
field

Contains the name of a DataField or a DerivedField. If a DerivedField is used and isTransformed is false, the training instances will also need to be transformed together with the k-NN input.

fieldWeight

Defines the importance factor for the field. It is used in the comparison functions to compute the comparison measure. The value must be a number greater than 0. The default value is 1.0.

trait Serializable
class Object
trait Matchable
class Any

Value members

Inherited methods

Inherited from:
HasExtensions
def hasExtensions: Boolean
Inherited from:
HasExtensions

Concrete fields

val fieldWeight: Double