|
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, int k, double a) |
void | initialize (struct vector_int *A, int k) |
void | GetLabeledData (struct data *Data_Labeled, const struct data *Data) |
double | norm_square (const vector_double *A) |
void | ssl_train (struct data *Data, struct options *Options, struct vector_double *W, struct vector_double *O) |
int | CGLS (const struct data *Data, const struct options *Options, const struct vector_int *Subset, struct vector_double *Weights, struct vector_double *Outputs) |
int | L2_SVM_MFN (const struct data *Data, struct options *Options, struct vector_double *Weights, struct vector_double *Outputs, int ini) |
double | line_search (double *w, double *w_bar, double lambda, double *o, double *o_bar, double *Y, double *C, int d, int l) |
int | TSVM_MFN (const struct data *Data, struct options *Options, struct vector_double *Weights, struct vector_double *Outputs) |
int | switch_labels (double *Y, double *o, int *JU, int u, int S) |
int | DA_S3VM (struct data *Data, struct options *Options, struct vector_double *Weights, struct vector_double *Outputs) |
void | optimize_p (const double *g, int u, double T, double r, double *p) |
int | optimize_w (const struct data *Data, const double *p, struct options *Options, struct vector_double *Weights, struct vector_double *Outputs, int ini) |
double | transductive_cost (double normWeights, double *Y, double *Outputs, int m, double lambda, double lambda_u) |
double | entropy (const double *p, int u) |
double | KL (const double *p, const double *q, int u) |