Package libsvm
Class svm
java.lang.Object
libsvm.svm
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
svm_check_parameter
(svm_problem prob, svm_parameter param) static int
static void
svm_cross_validation
(svm_problem prob, svm_parameter param, int nr_fold, double[] target) static void
svm_get_labels
(svm_model model, int[] label) static int
svm_get_nr_class
(svm_model model) static int
svm_get_svm_type
(svm_model model) static double
svm_get_svr_probability
(svm_model model) static svm_model
static svm_model
svm_load_model
(String model_file_name) static double
svm_predict
(svm_model model, svm_node[] x) static double
svm_predict_probability
(svm_model model, svm_node[] x, double[] prob_estimates) static double
svm_predict_values
(svm_model model, svm_node[] x, double[] dec_values) static void
svm_save_model
(String model_file_name, svm_model model) static void
svm_set_print_string_function
(svm_print_interface print_func) static svm_model
svm_train
(svm_problem prob, svm_parameter param)
-
Field Details
-
LIBSVM_VERSION
public static final int LIBSVM_VERSION- See Also:
-
-
Constructor Details
-
svm
public svm()
-
-
Method Details
-
svm_train
-
svm_cross_validation
public static void svm_cross_validation(svm_problem prob, svm_parameter param, int nr_fold, double[] target) -
svm_get_svm_type
-
svm_get_nr_class
-
svm_get_labels
-
svm_get_svr_probability
-
svm_predict_values
-
svm_predict
-
svm_predict_probability
-
svm_save_model
- Throws:
IOException
-
svm_load_model
- Throws:
IOException
-
svm_load_model
- Throws:
IOException
-
svm_check_parameter
-
svm_check_probability_model
-
svm_set_print_string_function
-