@Test public void testGetK() { assertEquals("KnnClassifier.getK failed", knnClassifier.getK(), k); }
public int getK() { return model.k; }
KNNClassifier extends Classifier { public int getK() { return model.k; } }
KNNClassifier extends Classifier { public int getK() { return model.k; } KNNClassifier(int k, int numFeatures);  KNNClassifier(Object objModel); }
KNNClassifier extends Classifier { public int getK() { return model.k; } KNNClassifier(int k, int numFeatures);  KNNClassifier(Object objModel); @Override boolean train(List<FeatureVector> data); @Override int classify(FeatureVector featureVector); @Override Object getModel(); ArrayList<ComputedDistance> sortDistances(List<ComputedDistance> 
	computedDistance); int getMajorityLabel(List<ComputedDistance> sortedDistance ); int getK(); void setK(int k); int getNumFeatures(); boolean setNumFeatures(int numFeatures); }
KNNClassifier extends Classifier { public int getK() { return model.k; } KNNClassifier(int k, int numFeatures);  KNNClassifier(Object objModel); @Override boolean train(List<FeatureVector> data); @Override int classify(FeatureVector featureVector); @Override Object getModel(); ArrayList<ComputedDistance> sortDistances(List<ComputedDistance> 
	computedDistance); int getMajorityLabel(List<ComputedDistance> sortedDistance ); int getK(); void setK(int k); int getNumFeatures(); boolean setNumFeatures(int numFeatures); public KNNModel model; }