Java weka.classifiers.lazy IBk fields, constructors, methods, implement or subclass

Example usage for Java weka.classifiers.lazy IBk fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for weka.classifiers.lazy IBk.

The text is from its open source code.

Constructor

IBk(int k)
IBk classifier.
IBk()
IB1 classifer.

Method

voidbuildClassifier(Instances instances)
Generates the classifier.
doubleclassifyInstance(Instance instance)
Classifies the given test instance.
voidsetCrossValidate(boolean newCrossValidate)
Sets whether hold-one-out cross-validation will be used to select the best k value.
voidsetDistanceWeighting(SelectedTag newMethod)
Sets the distance weighting method used.
voidsetKNN(int k)
Set the number of neighbours the learner is to use.
voidsetNearestNeighbourSearchAlgorithm(NearestNeighbourSearch nearestNeighbourSearchAlgorithm)
Sets the nearestNeighbourSearch algorithm to be used for finding nearest neighbour(s).