Skip to content

Commit

Permalink
move enum to upper class level
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed May 5, 2012
1 parent e8c646b commit 6b5dcbc
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/shogun/regression/KernelRidgeRegression.h
Expand Up @@ -21,6 +21,16 @@

namespace shogun
{

/** which training method to use for KRR */
enum ETrainingType
{
/// via pseudo inverse
PINV=1,
/// or gauss-seidel iterative method
GS=2
};

/** @brief Class KernelRidgeRegression implements Kernel Ridge Regression - a regularized least square
* method for classification and regression.
*
Expand Down Expand Up @@ -57,15 +67,6 @@ class CKernelRidgeRegression : public CKernelMachine
/** default constructor */
CKernelRidgeRegression();

/** which training method to use for KRR */
enum ETrainingType
{
/// via pseudo inverse
PINV=1,
/// or gauss-seidel iterative method
GS=2
};

/** constructor
*
* @param tau regularization constant tau
Expand Down

0 comments on commit 6b5dcbc

Please sign in to comment.