10 #ifndef MULTITASKMACHINE_H_ 11 #define MULTITASKMACHINE_H_ 53 return "MultitaskLinearMachine";
59 int32_t get_current_task()
const;
64 void set_current_task(int32_t task);
121 virtual bool train_machine(
CFeatures* data=NULL);
132 void register_parameters();
The class Labels models labels, i.e. class assignments of objects.
Features that support dot products among other operations.
virtual bool supports_locking() const
vector< set< index_t > > m_tasks_indices
virtual const char * get_name() const
CTaskRelation * m_task_relation
Class LinearMachine is a generic interface for all kinds of linear machines like classifiers.
class MultitaskLinearMachine, a base class for linear multitask classifiers
SGMatrix< float64_t > m_tasks_w
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
Binary Labels for binary classification
SGVector< float64_t > m_tasks_c
used to represent tasks in multitask learning