Packages

c

org.pmml4s.model

NearestNeighborAttributes

class NearestNeighborAttributes extends ModelAttributes with HasNearestNeighborAttributes

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NearestNeighborAttributes
  2. HasNearestNeighborAttributes
  3. ModelAttributes
  4. Serializable
  5. HasModelAttributes
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NearestNeighborAttributes(functionName: MiningFunction, numberOfNeighbors: Int, continuousScoringMethod: ContScoringMethod = ContScoringMethod.average, categoricalScoringMethod: CatScoringMethod = CatScoringMethod.majorityVote, instanceIdVariable: Option[String] = None, threshold: Double = 0.001, modelName: Option[String] = None, algorithmName: Option[String] = None, isScorable: Boolean = true)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val algorithmName: Option[String]

    The algorithm name is free-type and can be any description for the specific algorithm that produced the model.

    The algorithm name is free-type and can be any description for the specific algorithm that produced the model. This attribute is for information only.

    Definition Classes
    NearestNeighborAttributesModelAttributesHasModelAttributes
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val categoricalScoringMethod: CatScoringMethod

    Specify the scoring (or combining) method based on the categorical target values of K neighbors.

    Specify the scoring (or combining) method based on the categorical target values of K neighbors.

    Definition Classes
    NearestNeighborAttributesHasNearestNeighborAttributes
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. val continuousScoringMethod: ContScoringMethod

    Specify the scoring (or combining) method based on the continuous target values of K neighbors.

    Specify the scoring (or combining) method based on the continuous target values of K neighbors.

    Definition Classes
    NearestNeighborAttributesHasNearestNeighborAttributes
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. val functionName: MiningFunction

    Describe the kind of mining model, e.g., whether it is intended to be used for clustering or for classification.

    Describe the kind of mining model, e.g., whether it is intended to be used for clustering or for classification.

    Definition Classes
    NearestNeighborAttributesModelAttributesHasModelAttributes
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. val instanceIdVariable: Option[String]

    Contains the instance ID variable name and so refers to the name of a field in InstanceFields.

    Contains the instance ID variable name and so refers to the name of a field in InstanceFields. Required if the model has no targets, optional otherwise.

    Definition Classes
    NearestNeighborAttributesHasNearestNeighborAttributes
  15. def isAssociationRules: Boolean

    Tests if this is a association rules model.

    Tests if this is a association rules model.

    Definition Classes
    HasModelAttributes
  16. def isClassification: Boolean

    Tests if this is a classification model.

    Tests if this is a classification model.

    Definition Classes
    HasModelAttributes
  17. def isClustering: Boolean

    Tests if this is a clustering model.

    Tests if this is a clustering model.

    Definition Classes
    HasModelAttributes
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isMixed: Boolean

    Tests if this is a mixed model.

    Tests if this is a mixed model.

    Definition Classes
    HasModelAttributes
  20. def isRegression: Boolean

    Tests if this is a regression model.

    Tests if this is a regression model.

    Definition Classes
    HasModelAttributes
  21. val isScorable: Boolean

    Indicates if the model is valid for scoring.

    Indicates if the model is valid for scoring. If this attribute is true or if it is missing, then the model should be processed normally. However, if the attribute is false, then the model producer has indicated that this model is intended for information purposes only and should not be used to generate results.

    Definition Classes
    NearestNeighborAttributesModelAttributesHasModelAttributes
  22. def isSequences: Boolean

    Tests if this is a sequences model.

    Tests if this is a sequences model.

    Definition Classes
    HasModelAttributes
  23. def isTimeSeries: Boolean

    Tests if this is a time series model.

    Tests if this is a time series model.

    Definition Classes
    HasModelAttributes
  24. val modelName: Option[String]

    Identifies the model with a unique name in the context of the PMML file.

    Identifies the model with a unique name in the context of the PMML file. This attribute is not required. Consumers of PMML models are free to manage the names of the models at their discretion.

    Definition Classes
    NearestNeighborAttributesModelAttributesHasModelAttributes
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. val numberOfNeighbors: Int

    Specifies K, the number of desired neighbors.

    Specifies K, the number of desired neighbors.

    Definition Classes
    NearestNeighborAttributesHasNearestNeighborAttributes
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. val threshold: Double

    Defines a very small positive number to be used for "weighted" scoring methods to avoid numerical problems when distance or similarity measure is zero.

    Defines a very small positive number to be used for "weighted" scoring methods to avoid numerical problems when distance or similarity measure is zero.

    Definition Classes
    NearestNeighborAttributesHasNearestNeighborAttributes
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ModelAttributes

Inherited from Serializable

Inherited from HasModelAttributes

Inherited from AnyRef

Inherited from Any

Ungrouped