<commit_before>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 <NAME>
 *
 * @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);

}
<commit_msg>revise API document<commit_after>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 <NAME>
 *
 * @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 the feature vector.
     * @param x the feature vector.
     * @return the best result of the classification.
     * @throws IllegalArgumentException if the feature vector is null.
     */
    public int classify(FeatureVector<FS> x);

}

{'fraction_non_alphanumeric': 0.1020979020979021, 'fraction_numerical': 0.0, 'mean_word_length': 3.5573248407643314, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6201835', 'n_tokens_mistral': 453, 'n_tokens_neox': 440, 'n_words': 133}