class NearestNeighborAttributes extends ModelAttributes with HasNearestNeighborAttributes
- Alphabetic
- By Inheritance
- NearestNeighborAttributes
- HasNearestNeighborAttributes
- ModelAttributes
- Serializable
- HasModelAttributes
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- NearestNeighborAttributes → ModelAttributes → HasModelAttributes
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- NearestNeighborAttributes → HasNearestNeighborAttributes
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
- NearestNeighborAttributes → HasNearestNeighborAttributes
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- NearestNeighborAttributes → ModelAttributes → HasModelAttributes
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- NearestNeighborAttributes → HasNearestNeighborAttributes
- def isAssociationRules: Boolean
Tests if this is a association rules model.
Tests if this is a association rules model.
- Definition Classes
- HasModelAttributes
- def isClassification: Boolean
Tests if this is a classification model.
Tests if this is a classification model.
- Definition Classes
- HasModelAttributes
- def isClustering: Boolean
Tests if this is a clustering model.
Tests if this is a clustering model.
- Definition Classes
- HasModelAttributes
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isMixed: Boolean
Tests if this is a mixed model.
Tests if this is a mixed model.
- Definition Classes
- HasModelAttributes
- def isRegression: Boolean
Tests if this is a regression model.
Tests if this is a regression model.
- Definition Classes
- HasModelAttributes
- 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
- NearestNeighborAttributes → ModelAttributes → HasModelAttributes
- def isSequences: Boolean
Tests if this is a sequences model.
Tests if this is a sequences model.
- Definition Classes
- HasModelAttributes
- def isTimeSeries: Boolean
Tests if this is a time series model.
Tests if this is a time series model.
- Definition Classes
- HasModelAttributes
- 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
- NearestNeighborAttributes → ModelAttributes → HasModelAttributes
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val numberOfNeighbors: Int
Specifies K, the number of desired neighbors.
Specifies K, the number of desired neighbors.
- Definition Classes
- NearestNeighborAttributes → HasNearestNeighborAttributes
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- NearestNeighborAttributes → HasNearestNeighborAttributes
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated