package jp.gr.java_conf.dyama.rink.ml.svm;


import java.io.Serializable;

import jp.gr.java_conf.dyama.rink.ml.FeatureSpace;
import jp.gr.java_conf.dyama.rink.ml.FeatureVector;

/**
 * Interface for Classifier
 * @author Hiroyasu Yamada
 *
 * @param <K>  the type of Kernel functions.
 * @param <FS> the type of Feature Space
 */
public interface Classifier <K extends KernelFunction, FS extends FeatureSpace> extends Serializable {

    /**
     * classify a feature vector.
     * @param x the feature vector.
     * @return the best result of classification.
     * @throws IllegalArgumentException if the feature vector is null.
     */
    public int classify(FeatureVector<FS> x);

}

@@ -452,17 +452,19 @@
 lassify 
-a
+the
  feature
@@ -542,16 +542,20 @@
 sult of 
+the 
 classifi

revise API document