Classes | Static Public Member Functions | Static Public Attributes | Static Private Member Functions | Static Private Attributes | List of all members
libsvm.svm Class Reference

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 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)
inlinestaticprivate

Definition at line 2500 of file svm.java.

static int libsvm.svm.atoi ( String  s)
inlinestaticprivate

Definition at line 2505 of file svm.java.

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

Definition at line 1681 of file svm.java.

static double libsvm.svm.sigmoid_predict ( double  decision_value,
double  A,
double  B 
)
inlinestaticprivate

Definition at line 1671 of file svm.java.

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

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 
)
inlinestaticprivate

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 
)
inlinestaticprivate

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 
)
inlinestaticprivate

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 
)
inlinestaticprivate

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 
)
inlinestaticprivate

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 
)
inlinestaticprivate

Definition at line 1741 of file svm.java.

static String libsvm.svm.svm_check_parameter ( svm_problem  prob,
svm_parameter  param 
)
inlinestatic

Definition at line 2656 of file svm.java.

static int libsvm.svm.svm_check_probability_model ( svm_model  model)
inlinestatic

Definition at line 2776 of file svm.java.

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

Definition at line 2146 of file svm.java.

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

Definition at line 2266 of file svm.java.

static int libsvm.svm.svm_get_nr_class ( svm_model  model)
inlinestatic

Definition at line 2261 of file svm.java.

static int libsvm.svm.svm_get_svm_type ( svm_model  model)
inlinestatic

Definition at line 2256 of file svm.java.

static double libsvm.svm.svm_get_svr_probability ( svm_model  model)
inlinestatic

Definition at line 2273 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 
)
inlinestaticprivate

Definition at line 1853 of file svm.java.

static svm_model libsvm.svm.svm_load_model ( String  model_file_name) throws IOException
inlinestatic

Definition at line 2510 of file svm.java.

static svm_model libsvm.svm.svm_load_model ( BufferedReader  fp) throws IOException
inlinestatic

Definition at line 2515 of file svm.java.

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

Definition at line 2358 of file svm.java.

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

Definition at line 2372 of file svm.java.

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

Definition at line 2285 of file svm.java.

static void libsvm.svm.svm_save_model ( String  model_file_name,
svm_model  model 
) throws IOException
inlinestatic

Definition at line 2415 of file svm.java.

static void libsvm.svm.svm_set_print_string_function ( svm_print_interface  print_func)
inlinestatic

Definition at line 2787 of file svm.java.

static double libsvm.svm.svm_svr_probability ( svm_problem  prob,
svm_parameter  param 
)
inlinestaticprivate

Definition at line 1822 of file svm.java.

static svm_model libsvm.svm.svm_train ( svm_problem  prob,
svm_parameter  param 
)
inlinestatic

Definition at line 1916 of file svm.java.

Member Data Documentation

final int libsvm.svm.LIBSVM_VERSION =312
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.

svm_print_interface libsvm.svm.svm_print_stdout
staticprivate
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.

svm_print_interface libsvm.svm.svm_print_string = svm_print_stdout
staticprivate

Definition at line 1307 of file svm.java.


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


haf_grasping
Author(s): David Fischinger
autogenerated on Mon Jun 10 2019 13:28:43