Skip to content

Commit

Permalink
re-register old model selection parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed Feb 28, 2018
1 parent 2d7125e commit fa26ded
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/shogun/machine/KernelMachine.cpp
Expand Up @@ -636,7 +636,9 @@ void CKernelMachine::init()

// SG_ADD((CSGObject**) &kernel, "kernel", "", MS_AVAILABLE);
m_parameters->add((CSGObject**) &kernel, "kernel", "");
watch_param("kernel", &kernel, AnyParameterProperties(""));
m_model_selection_parameters->add((CSGObject**) &kernel, "kernel", "");

watch_param("kernel", &kernel, AnyParameterProperties("", MS_AVAILABLE));

SG_ADD((CSGObject**) &m_custom_kernel, "custom_kernel", "Custom kernel for"
" data lock", MS_NOT_AVAILABLE);
Expand Down

0 comments on commit fa26ded

Please sign in to comment.