org.encog.mathutil.libsvm
public class svm extends Object
Modifier and Type | Field and Description |
---|---|
static int |
LIBSVM_VERSION |
static Random |
rand |
Constructor and Description |
---|
svm() |
public static final int LIBSVM_VERSION
public static final Random rand
public static svm_model svm_train(svm_problem prob, svm_parameter param)
public static void svm_cross_validation(svm_problem prob, svm_parameter param, int nr_fold, double[] target)
public static int svm_get_svm_type(svm_model model)
public static int svm_get_nr_class(svm_model model)
public static void svm_get_labels(svm_model model, int[] label)
public static double svm_get_svr_probability(svm_model model)
public static double svm_predict_values(svm_model model, svm_node[] x, double[] dec_values)
public static double svm_predict_probability(svm_model model, svm_node[] x, double[] prob_estimates)
public static void svm_save_model(String model_file_name, svm_model model) throws IOException
IOException
public static void svm_save_model(DataOutputStream fp, svm_model model) throws IOException
IOException
public static svm_model svm_load_model(String model_file_name) throws IOException
IOException
public static svm_model svm_load_model(BufferedReader fp) throws IOException
IOException
public static String svm_check_parameter(svm_problem prob, svm_parameter param)
public static int svm_check_probability_model(svm_model model)
public static void svm_set_print_string_function(svm_print_interface print_func)
Copyright © 2014. All Rights Reserved.