public class VotingClassification extends ClassificationScheme
ClassificationScheme.Classifier, ClassificationScheme.Distance| Modifier and Type | Method and Description |
|---|---|
boolean |
isValidTargetType(ScalarTokenType type)
Indicates whether the classification method is valid for the specified
type.
|
boolean |
isWeighted()
Returns whether the classification is weighted
|
ClassificationScheme.Classifier |
newClassifier(int k)
Creates a new classifier for use.
|
avg, votepublic boolean isWeighted()
public final ClassificationScheme.Classifier newClassifier(int k)
ClassificationSchemenewClassifier in class ClassificationSchemek - the number of neighbors to expect.public final boolean isValidTargetType(ScalarTokenType type)
ClassificationSchemeisValidTargetType in class ClassificationSchemetype - the type of the class datatrue if the data type is compatible,
false otherwise.Copyright © 2021 Actian Corporation. All rights reserved.