56int main(
int argc,
char** argv)
59 unsigned int ell_train = 1000;
60 unsigned int ell_test = 1000;
65 MultiTaskProblem problem;
66 problem.setTasks(
true,
true,
false);
68 problem.setTasks(
false,
false,
true);
73 for (
size_t i=0; i<ell_train; i++)
75 for (
size_t i=0; i<ell_test; i++)
90 cout <<
"training ..." << endl;
91 trainer.
train(ke, training);
92 cout <<
"done." << endl;
99 cout <<
"training error:\t" << trainError << endl;
103 cout <<
"test error:\t" << testError << endl;