// declare a Naive Bayes classifier
naive_bayes<double,unsigned char> NB;
Logistic regression
// declare a logistic regression classifier
logistic_regression<double,unsigned char> LR(0.1,0.0001);
Adaboost
// Boosting using decision stump
ada_boost<decision_stump<double,unsigned char> > boosted_decision1((size_t)10);
K-nearest neighbor
nearest_neighbor<double,unsigned char,weight_function_average> NN(1);
Parzen density estimator
parzen_estimator<double,unsigned char,weight_function_average> PE(1.0);
Decision tree
decision_tree<double,unsigned char> DE(100,0.9);