Skip to content

Commit

Permalink
added comments on parameter maps
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed Mar 14, 2013
1 parent 25b9613 commit fde6304
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/shogun/machine/KernelMachine.cpp
Expand Up @@ -690,10 +690,13 @@ void CKernelMachine::init()
MS_NOT_AVAILABLE);
SG_ADD(&m_svs, "m_svs", "Number of ``support vectors''.", MS_NOT_AVAILABLE);

/* new parameter from param version 0 to 1 */
m_parameter_map->put(
new SGParamInfo("custom_kernel", CT_SCALAR, ST_NONE, PT_SGOBJECT, 1),
new SGParamInfo()
);

/* new parameter from param version 0 to 1 */
m_parameter_map->put(
new SGParamInfo("kernel_backup", CT_SCALAR, ST_NONE, PT_SGOBJECT, 1),
new SGParamInfo()
Expand Down

0 comments on commit fde6304

Please sign in to comment.