Classes | Static Public Member Functions | Static Public Attributes | Static Package Functions | Static Package Attributes | Static Private Member Functions | Static Private Attributes
libsvm.svm Class Reference

List of all members.

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_nr_sv (svm_model model)
static void svm_get_sv_indices (svm_model model, int[] indices)
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 = 314
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

Detailed Description

Definition at line 1291 of file svm.java.


Member Function Documentation

static double libsvm.svm.atof ( String  s) [inline, static, private]

Definition at line 2519 of file svm.java.

static int libsvm.svm.atoi ( String  s) [inline, static, private]

Definition at line 2524 of file svm.java.

static void libsvm.svm.info ( String  s) [inline, static, package]

Definition at line 1309 of file svm.java.

static void libsvm.svm.multiclass_probability ( int  k,
double  r[][],
double[]  p 
) [inline, static, private]

Definition at line 1681 of file svm.java.

static double libsvm.svm.sigmoid_predict ( double  decision_value,
double  A,
double  B 
) [inline, static, private]

Definition at line 1671 of file svm.java.

static void libsvm.svm.sigmoid_train ( int  l,
double[]  dec_values,
double[]  labels,
double[]  probAB 
) [inline, static, private]

Definition at line 1558 of file svm.java.

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]

Definition at line 1314 of file svm.java.

static void libsvm.svm.solve_epsilon_svr ( svm_problem  prob,
svm_parameter  param,
double[]  alpha,
Solver.SolutionInfo  si 
) [inline, static, private]

Definition at line 1425 of file svm.java.

static void libsvm.svm.solve_nu_svc ( svm_problem  prob,
svm_parameter  param,
double[]  alpha,
Solver.SolutionInfo  si 
) [inline, static, private]

Definition at line 1346 of file svm.java.

static void libsvm.svm.solve_nu_svr ( svm_problem  prob,
svm_parameter  param,
double[]  alpha,
Solver.SolutionInfo  si 
) [inline, static, private]

Definition at line 1458 of file svm.java.

static void libsvm.svm.solve_one_class ( svm_problem  prob,
svm_parameter  param,
double[]  alpha,
Solver.SolutionInfo  si 
) [inline, static, private]

Definition at line 1397 of file svm.java.

static void libsvm.svm.svm_binary_svc_probability ( svm_problem  prob,
svm_parameter  param,
double  Cp,
double  Cn,
double[]  probAB 
) [inline, static, private]

Definition at line 1741 of file svm.java.

static String libsvm.svm.svm_check_parameter ( svm_problem  prob,
svm_parameter  param 
) [inline, static]

Definition at line 2675 of file svm.java.

static int libsvm.svm.svm_check_probability_model ( svm_model  model) [inline, static]

Definition at line 2795 of file svm.java.

static void libsvm.svm.svm_cross_validation ( svm_problem  prob,
svm_parameter  param,
int  nr_fold,
double[]  target 
) [inline, static]

Definition at line 2153 of file svm.java.

static void libsvm.svm.svm_get_labels ( svm_model  model,
int[]  label 
) [inline, static]

Definition at line 2273 of file svm.java.

static int libsvm.svm.svm_get_nr_class ( svm_model  model) [inline, static]

Definition at line 2268 of file svm.java.

static int libsvm.svm.svm_get_nr_sv ( svm_model  model) [inline, static]

Definition at line 2287 of file svm.java.

static void libsvm.svm.svm_get_sv_indices ( svm_model  model,
int[]  indices 
) [inline, static]

Definition at line 2280 of file svm.java.

static int libsvm.svm.svm_get_svm_type ( svm_model  model) [inline, static]

Definition at line 2263 of file svm.java.

static double libsvm.svm.svm_get_svr_probability ( svm_model  model) [inline, static]

Definition at line 2292 of file svm.java.

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]

Definition at line 1853 of file svm.java.

static svm_model libsvm.svm.svm_load_model ( String  model_file_name) throws IOException [inline, static]

Definition at line 2529 of file svm.java.

static svm_model libsvm.svm.svm_load_model ( BufferedReader  fp) throws IOException [inline, static]

Definition at line 2534 of file svm.java.

static double libsvm.svm.svm_predict ( svm_model  model,
svm_node[]  x 
) [inline, static]

Definition at line 2377 of file svm.java.

static double libsvm.svm.svm_predict_probability ( svm_model  model,
svm_node[]  x,
double[]  prob_estimates 
) [inline, static]

Definition at line 2391 of file svm.java.

static double libsvm.svm.svm_predict_values ( svm_model  model,
svm_node[]  x,
double[]  dec_values 
) [inline, static]

Definition at line 2304 of file svm.java.

static void libsvm.svm.svm_save_model ( String  model_file_name,
svm_model  model 
) throws IOException [inline, static]

Definition at line 2434 of file svm.java.

static void libsvm.svm.svm_set_print_string_function ( svm_print_interface  print_func) [inline, static]

Definition at line 2806 of file svm.java.

static double libsvm.svm.svm_svr_probability ( svm_problem  prob,
svm_parameter  param 
) [inline, static, private]

Definition at line 1822 of file svm.java.

static svm_model libsvm.svm.svm_train ( svm_problem  prob,
svm_parameter  param 
) [inline, static]

Definition at line 1916 of file svm.java.

static decision_function libsvm.svm.svm_train_one ( svm_problem  prob,
svm_parameter  param,
double  Cp,
double  Cn 
) [inline, static, package]

Definition at line 1500 of file svm.java.


Member Data Documentation

final String libsvm.svm.kernel_type_table[] [static, package]
Initial value:
        {
                "linear","polynomial","rbf","sigmoid","precomputed"
        }

Definition at line 2429 of file svm.java.

final int libsvm.svm.LIBSVM_VERSION = 314 [static]

Definition at line 1295 of file svm.java.

final Random libsvm.svm.rand = new Random() [static]

Definition at line 1296 of file svm.java.

Initial value:
 new svm_print_interface()
        {
                public void print(String s)
                {
                        System.out.print(s);
                        System.out.flush();
                }
        }

Definition at line 1298 of file svm.java.

Definition at line 1307 of file svm.java.

final String libsvm.svm.svm_type_table[] [static, package]
Initial value:
        {
                "c_svc","nu_svc","one_class","epsilon_svr","nu_svr",
        }

Definition at line 2424 of file svm.java.


The documentation for this class was generated from the following file:


ml_classifiers
Author(s): Scott Niekum
autogenerated on Mon Oct 6 2014 02:20:58