Skip to content
Snippets Groups Projects
Commit 5067d63e authored by Julien Malik's avatar Julien Malik
Browse files

ENH: Add name for SVM Kernel

parent 94ddff7f
Branches
Tags
No related merge requests found
......@@ -27,6 +27,7 @@ ChangeProfileKernelFunctor
::ChangeProfileKernelFunctor ()
: GenericKernelFunctorBase ()
{
this->SetName("ChangeProfile");
m_Coef = 0.0;
m_Degree = 1.0;
m_Gamma = 1.0;
......
......@@ -27,6 +27,7 @@ MixturePolyRBFKernelFunctor
::MixturePolyRBFKernelFunctor ()
: GenericKernelFunctorBase ()
{
this->SetName("MixturePolyRBF");
m_Mixture = 0.5;
m_GammaPoly = 1.0;
m_CoefPoly = 1.0;
......
......@@ -27,6 +27,7 @@ NonGaussianRBFKernelFunctor
::NonGaussianRBFKernelFunctor ()
: GenericKernelFunctorBase ()
{
this->SetName("NonGaussianRBF");
m_Alpha = 1.0;
m_Beta = 2.0;
m_Gamma = 1.0;
......
......@@ -29,8 +29,8 @@ SpectralAngleKernelFunctor
::SpectralAngleKernelFunctor ()
: GenericKernelFunctorBase ()
{
this->SetName("SAMcoeff");
m_Coef = 2.0;
SetValue("Coef", m_Coef);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment