ext/numo/libsvm/src/svm.h in numo-libsvm-2.0.1 vs ext/numo/libsvm/src/svm.h in numo-libsvm-2.1.0

- old
+ new

@@ -1,9 +1,9 @@ #ifndef _LIBSVM_H #define _LIBSVM_H -#define LIBSVM_VERSION 324 +#define LIBSVM_VERSION 330 #ifdef __cplusplus extern "C" { #endif @@ -57,9 +57,10 @@ struct svm_node **SV; /* SVs (SV[l]) */ double **sv_coef; /* coefficients for SVs in decision functions (sv_coef[k-1][l]) */ double *rho; /* constants in decision functions (rho[k*(k-1)/2]) */ double *probA; /* pariwise probability information */ double *probB; + double *prob_density_marks; /* probability information for ONE_CLASS */ int *sv_indices; /* sv_indices[0,...,nSV-1] are values in [1,...,num_traning_data] to indicate SVs in the training set */ /* for classification only */ int *label; /* label of each class (label[k]) */