ClusteringField

class ClusteringField(val field: Field, val comparisons: Option[Comparisons], val isCenterField: Boolean, val fieldWeight: Double, val similarityScale: Option[Double], val compareFunction: Option[CompareFunction]) extends PmmlElement
Value parameters:
compareFunction

A function of taking two field values and a similarityScale to define similarity/distance. It can override the general specification of compareFunction in ComparisonMeasure.

comparisons

A matrix which contains the similarity values or distance values.

field

Refers (by name) to a MiningField or to a DerivedField.

fieldWeight

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

isCenterField

Indicates whether the respective field is a center field, i.e. a component of the center, in a center-based model. Only center fields correspond to the entries in the center vectors in order.

similarityScale

The distance such that similarity becomes 0.5.

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
val isCenterField: Boolean
val similarityScale: Option[Double]