Classes | |
class | decision_function |
Static Public Member Functions | |
static String | svm_check_parameter (svm_problem prob, svm_parameter param) |
static int | svm_check_probability_model (svm_model model) |
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 | svm_load_model (String model_file_name) throws IOException |
static svm_model | svm_load_model (BufferedReader fp) throws IOException |
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) throws IOException |
static void | svm_set_print_string_function (svm_print_interface print_func) |
static svm_model | svm_train (svm_problem prob, svm_parameter param) |
Static Public Attributes | |
static final int | LIBSVM_VERSION = 312 |
static final Random | rand = new Random() |
Static Package Functions | |
static void | info (String s) |
static decision_function | svm_train_one (svm_problem prob, svm_parameter param, double Cp, double Cn) |
Static Package Attributes | |
static final String | kernel_type_table [] |
static final String | svm_type_table [] |
Static Private Member Functions | |
static double | atof (String s) |
static int | atoi (String s) |
static void | multiclass_probability (int k, double[][] r, double[] p) |
static double | sigmoid_predict (double decision_value, double A, double B) |
static void | sigmoid_train (int l, double[] dec_values, double[] labels, double[] probAB) |
static void | solve_c_svc (svm_problem prob, svm_parameter param, double[] alpha, Solver.SolutionInfo si, double Cp, double Cn) |
static void | solve_epsilon_svr (svm_problem prob, svm_parameter param, double[] alpha, Solver.SolutionInfo si) |
static void | solve_nu_svc (svm_problem prob, svm_parameter param, double[] alpha, Solver.SolutionInfo si) |
static void | solve_nu_svr (svm_problem prob, svm_parameter param, double[] alpha, Solver.SolutionInfo si) |
static void | solve_one_class (svm_problem prob, svm_parameter param, double[] alpha, Solver.SolutionInfo si) |
static void | svm_binary_svc_probability (svm_problem prob, svm_parameter param, double Cp, double Cn, double[] probAB) |
static void | svm_group_classes (svm_problem prob, int[] nr_class_ret, int[][] label_ret, int[][] start_ret, int[][] count_ret, int[] perm) |
static double | svm_svr_probability (svm_problem prob, svm_parameter param) |
Static Private Attributes | |
static svm_print_interface | svm_print_stdout |
static svm_print_interface | svm_print_string = svm_print_stdout |
static double libsvm.svm.atof | ( | String | s | ) | [inline, static, private] |
static int libsvm.svm.atoi | ( | String | s | ) | [inline, static, private] |
static void libsvm.svm.info | ( | String | s | ) | [inline, static, package] |
static void libsvm.svm.multiclass_probability | ( | int | k, |
double | r[][], | ||
double[] | p | ||
) | [inline, static, private] |
static double libsvm.svm.sigmoid_predict | ( | double | decision_value, |
double | A, | ||
double | B | ||
) | [inline, static, private] |
static void libsvm.svm.sigmoid_train | ( | int | l, |
double[] | dec_values, | ||
double[] | labels, | ||
double[] | probAB | ||
) | [inline, static, private] |
static void libsvm.svm.solve_c_svc | ( | svm_problem | prob, |
svm_parameter | param, | ||
double[] | alpha, | ||
Solver.SolutionInfo | si, | ||
double | Cp, | ||
double | Cn | ||
) | [inline, static, private] |
static void libsvm.svm.solve_epsilon_svr | ( | svm_problem | prob, |
svm_parameter | param, | ||
double[] | alpha, | ||
Solver.SolutionInfo | si | ||
) | [inline, static, private] |
static void libsvm.svm.solve_nu_svc | ( | svm_problem | prob, |
svm_parameter | param, | ||
double[] | alpha, | ||
Solver.SolutionInfo | si | ||
) | [inline, static, private] |
static void libsvm.svm.solve_nu_svr | ( | svm_problem | prob, |
svm_parameter | param, | ||
double[] | alpha, | ||
Solver.SolutionInfo | si | ||
) | [inline, static, private] |
static void libsvm.svm.solve_one_class | ( | svm_problem | prob, |
svm_parameter | param, | ||
double[] | alpha, | ||
Solver.SolutionInfo | si | ||
) | [inline, static, private] |
static void libsvm.svm.svm_binary_svc_probability | ( | svm_problem | prob, |
svm_parameter | param, | ||
double | Cp, | ||
double | Cn, | ||
double[] | probAB | ||
) | [inline, static, private] |
static String libsvm.svm.svm_check_parameter | ( | svm_problem | prob, |
svm_parameter | param | ||
) | [inline, static] |
static int libsvm.svm.svm_check_probability_model | ( | svm_model | model | ) | [inline, static] |
static void libsvm.svm.svm_cross_validation | ( | svm_problem | prob, |
svm_parameter | param, | ||
int | nr_fold, | ||
double[] | target | ||
) | [inline, static] |
static void libsvm.svm.svm_get_labels | ( | svm_model | model, |
int[] | label | ||
) | [inline, static] |
static int libsvm.svm.svm_get_nr_class | ( | svm_model | model | ) | [inline, static] |
static int libsvm.svm.svm_get_svm_type | ( | svm_model | model | ) | [inline, static] |
static double libsvm.svm.svm_get_svr_probability | ( | svm_model | model | ) | [inline, static] |
static void libsvm.svm.svm_group_classes | ( | svm_problem | prob, |
int[] | nr_class_ret, | ||
int | label_ret[][], | ||
int | start_ret[][], | ||
int | count_ret[][], | ||
int[] | perm | ||
) | [inline, static, private] |
static svm_model libsvm.svm.svm_load_model | ( | String | model_file_name | ) | throws IOException [inline, static] |
static svm_model libsvm.svm.svm_load_model | ( | BufferedReader | fp | ) | throws IOException [inline, static] |
static double libsvm.svm.svm_predict | ( | svm_model | model, |
svm_node[] | x | ||
) | [inline, static] |
static double libsvm.svm.svm_predict_probability | ( | svm_model | model, |
svm_node[] | x, | ||
double[] | prob_estimates | ||
) | [inline, static] |
static double libsvm.svm.svm_predict_values | ( | svm_model | model, |
svm_node[] | x, | ||
double[] | dec_values | ||
) | [inline, static] |
static void libsvm.svm.svm_save_model | ( | String | model_file_name, |
svm_model | model | ||
) | throws IOException [inline, static] |
static void libsvm.svm.svm_set_print_string_function | ( | svm_print_interface | print_func | ) | [inline, static] |
static double libsvm.svm.svm_svr_probability | ( | svm_problem | prob, |
svm_parameter | param | ||
) | [inline, static, private] |
static svm_model libsvm.svm.svm_train | ( | svm_problem | prob, |
svm_parameter | param | ||
) | [inline, static] |
static decision_function libsvm.svm.svm_train_one | ( | svm_problem | prob, |
svm_parameter | param, | ||
double | Cp, | ||
double | Cn | ||
) | [inline, static, package] |
final String libsvm.svm.kernel_type_table[] [static, package] |
final int libsvm.svm.LIBSVM_VERSION = 312 [static] |
final Random libsvm.svm.rand = new Random() [static] |
svm_print_interface libsvm.svm.svm_print_stdout [static, private] |
svm_print_interface libsvm.svm.svm_print_string = svm_print_stdout [static, private] |
final String libsvm.svm.svm_type_table[] [static, package] |