Field Summary |
|
final public static Tag[] | TAGS_WEIGHTING possible instance weighting methods. |
final public static int | WEIGHT_INVERSE weight by 1/distance. |
final public static int | WEIGHT_NONE no weighting. |
final public static int | WEIGHT_SIMILARITY weight by 1-distance. |
protected int | m_ClassType The class attribute type. |
protected boolean | m_CrossValidate Whether to select k by cross validation. |
protected int | m_DistanceWeighting Whether the neighbours should be distance-weighted. |
protected boolean | m_MeanSquared Whether to minimise mean squared error rather than mean absolute
error when cross-validating on numeric prediction tasks. |
protected NearestNeighbourSearch | m_NNSearch for nearest-neighbor search. |
protected double | m_NumAttributesUsed The number of attributes the contribute to a prediction. |
protected int | m_NumClasses The number of class values (or 1 if predicting numeric). |
protected Instances | m_Train The training instances used for classification. |
protected int | m_WindowSize The maximum number of training instances allowed. |
protected int | m_kNN The number of neighbours to use for classification (currently). |
protected int | m_kNNUpper The value of kNN provided by the user. |
protected boolean | m_kNNValid Whether the value of k selected by cross validation has
been invalidated by a change in the training instances. |
final static long | serialVersionUID for serialization. |