|
Classes |
struct | data |
struct | vector_double |
struct | vector_int |
struct | options |
class | Delta |
Defines |
#define | CGITERMAX 10000 |
#define | SMALL_CGITERMAX 10 |
#define | EPSILON 1e-6 |
#define | BIG_EPSILON 0.01 |
#define | RELATIVE_STOP_EPS 1e-9 |
#define | MFNITERMAX 50 |
#define | TSVM_ANNEALING_RATE 1.5 |
#define | TSVM_LAMBDA_SMALL 1e-5 |
#define | DA_ANNEALING_RATE 1.5 |
#define | DA_INIT_TEMP 10 |
#define | DA_INNER_ITERMAX 100 |
#define | DA_OUTER_ITERMAX 30 |
Enumerations |
enum | { RLS,
SVM,
TSVM,
DA_SVM
} |
Functions |
bool | operator< (const Delta &a, const Delta &b) |
void | initialize (struct vector_double *A, int32_t k, float64_t a) |
void | initialize (struct vector_int *A, int32_t k) |
void | GetLabeledData (struct data *Data_Labeled, const struct data *Data) |
float64_t | norm_square (const vector_double *A) |
void | ssl_train (struct data *Data, struct options *Options, struct vector_double *W, struct vector_double *O) |
int32_t | CGLS (const struct data *Data, const struct options *Options, const struct vector_int *Subset, struct vector_double *Weights, struct vector_double *Outputs) |
int32_t | L2_SVM_MFN (const struct data *Data, struct options *Options, struct vector_double *Weights, struct vector_double *Outputs, int32_t ini) |
float64_t | line_search (float64_t *w, float64_t *w_bar, float64_t lambda, float64_t *o, float64_t *o_bar, float64_t *Y, float64_t *C, int32_t d, int32_t l) |
int32_t | TSVM_MFN (const struct data *Data, struct options *Options, struct vector_double *Weights, struct vector_double *Outputs) |
int32_t | switch_labels (float64_t *Y, float64_t *o, int32_t *JU, int32_t u, int32_t S) |
int32_t | DA_S3VM (struct data *Data, struct options *Options, struct vector_double *Weights, struct vector_double *Outputs) |
void | optimize_p (const float64_t *g, int32_t u, float64_t T, float64_t r, float64_t *p) |
int32_t | optimize_w (const struct data *Data, const float64_t *p, struct options *Options, struct vector_double *Weights, struct vector_double *Outputs, int32_t ini) |
float64_t | transductive_cost (float64_t normWeights, float64_t *Y, float64_t *Outputs, int32_t m, float64_t lambda, float64_t lambda_u) |
float64_t | entropy (const float64_t *p, int32_t u) |
float64_t | KL (const float64_t *p, const float64_t *q, int32_t u) |