20 #ifndef DOXYGEN_SHOULD_SKIP_THIS
26 #define CGITERMAX 10000
27 #define SMALL_CGITERMAX 10
29 #define BIG_EPSILON 0.01
30 #define RELATIVE_STOP_EPS 1e-9
32 #define TSVM_ANNEALING_RATE 1.5
33 #define TSVM_LAMBDA_SMALL 1e-5
34 #define DA_ANNEALING_RATE 1.5
35 #define DA_INIT_TEMP 10
36 #define DA_INNER_ITERMAX 100
37 #define DA_OUTER_ITERMAX 30
84 enum { RLS, SVM, TSVM, DA_SVM };
121 Delta() { delta=0.0; index=0;s=0; }
131 inline bool operator<(
const Delta& a ,
const Delta& b)
133 return (a.delta < b.delta);
138 void initialize(
struct vector_int *A, int32_t k);
140 void GetLabeledData(
struct data *Data_Labeled,
const struct data *Data);
149 struct options *Options,
150 struct vector_double *W,
151 struct vector_double *O);
159 const struct data *Data,
160 const struct options *Options,
161 const struct vector_int *Subset,
162 struct vector_double *Weights,
163 struct vector_double *Outputs);
168 const struct data *Data,
169 struct options *Options,
170 struct vector_double *Weights,
171 struct vector_double *Outputs,
189 const struct data *Data,
190 struct options *Options,
191 struct vector_double *Weights,
192 struct vector_double *Outputs);
204 struct options *Options,
205 struct vector_double *Weights,
206 struct vector_double *Outputs);
212 const struct data *Data,
214 struct options *Options,
215 struct vector_double *Weights,
216 struct vector_double *Outputs,
234 #endif // DOXYGEN_SHOULD_SKIP_THIS