19 CMachine* machine,
const char* prefix)
21 REQUIRE(machine,
"%s::update_trained_machine(): Provided Machine is NULL!\n",
24 CMKL* mkl=
dynamic_cast<CMKL*
>(machine);
26 REQUIRE(mkl || mkl_multiclass,
"%s::update_trained_machine(): This method is only usable "
27 "with CMKL derived machines. This one is \"%s\"\n",
get_name(),
36 REQUIRE(kernel,
"%s::update_trained_machine(): No kernel assigned to "
40 REQUIRE(combined_kernel,
"%s::update_trained_machine(): This method is only"
41 " usable with CCombinedKernel on machines. This one is \"s\"\n",
52 SG_DEBUG(
"deleting memory for mkl weight matrix\n")
60 SG_DEBUG(
"allocating memory for mkl weight matrix\n")
74 index_t first_idx=run_shift+fold_shift;
SGMatrix< float64_t > m_mkl_weights
MKLMulticlass is a class for L1-norm Multiclass MKL.
index_t m_current_fold_index
virtual const char * get_name() const
A generic learning machine interface.
virtual const char * get_name() const
The Combined kernel is used to combine a number of kernels into a single CombinedKernel object by lin...
Multiple Kernel Learning.
all of classes and functions are contained in the shogun namespace
index_t m_current_run_index
virtual void update_trained_machine(CMachine *machine, const char *prefix="")