Uses of Class
com.pervasive.datarush.analytics.knn.ClassificationScheme
Packages that use ClassificationScheme
Package
Description
Provides an implementation of the KNN algorithm using DataRush's sparse data API.
-
Uses of ClassificationScheme in com.pervasive.datarush.analytics.knn
Subclasses of ClassificationScheme in com.pervasive.datarush.analytics.knnMethods in com.pervasive.datarush.analytics.knn that return ClassificationSchemeModifier and TypeMethodDescriptionstatic ClassificationSchemeClassificationScheme.avg()Resolves the class of the query record by doing a straight average of all neighbors.KNNClassifier.getClassificationScheme()Gets how the classification of a record in the query data is determined from the classifications of its nearest neighbors in the example data.static ClassificationSchemeClassificationScheme.vote()Resolves the class of the query records by simple plurality of all neighbors (alternatively, the mode of the neighbors).Methods in com.pervasive.datarush.analytics.knn with parameters of type ClassificationSchemeModifier and TypeMethodDescriptionvoidKNNClassifier.setClassificationScheme(ClassificationScheme scheme) Specifies how to determine the classification of a record in the query data from the classifications of its nearest neighbors in the example data.