Skip to content

Commit

Permalink
fix various documentations and thus doxygen warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Apr 19, 2012
1 parent c58a034 commit 519d74a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/shogun/classifier/NearestCentroid.h
Expand Up @@ -40,7 +40,7 @@ class CNearestCentroid : public CDistanceMachine{

/** constructor
*
* @param d distance
* @param distance distance
* @param trainlab labels for training
*/
CNearestCentroid(CDistance* distance, CLabels* trainlab);
Expand Down Expand Up @@ -108,4 +108,4 @@ class CNearestCentroid : public CDistanceMachine{

}

#endif
#endif
2 changes: 1 addition & 1 deletion src/shogun/distance/Distance.h
Expand Up @@ -237,7 +237,7 @@ class CDistance : public CSGObject
* @param lhs features of right-hand side
* @return replaced left-hand side features
*/
CFeatures* replace_lhs(CFeatures* rhs);
CFeatures* replace_lhs(CFeatures* lhs);

/** remove lhs and rhs from distance */
virtual void remove_lhs_and_rhs();
Expand Down
1 change: 1 addition & 0 deletions src/shogun/lib/List.h
Expand Up @@ -520,6 +520,7 @@ class CList : public CSGObject
last = prev;
}

/** print all elements of the list */
void print_list()
{
CListElement* c=first;
Expand Down
5 changes: 3 additions & 2 deletions src/shogun/regression/KernelRidgeRegression.h
Expand Up @@ -68,6 +68,7 @@ class CKernelRidgeRegression : public CKernelMachine
* @param tau regularization constant tau
* @param k kernel
* @param lab labels
* @m method to use for training PINV (pseudo inverse by default)
*/
CKernelRidgeRegression(float64_t tau, CKernel* k, CLabels* lab, ETrainingType m=PINV);
virtual ~CKernelRidgeRegression() {}
Expand All @@ -78,9 +79,9 @@ class CKernelRidgeRegression : public CKernelMachine
*/
inline void set_tau(float64_t tau) { m_tau = tau; };

/** set precision
/** set convergence precision for gauss seidel method
*
* @param tau new tau
* @param epsilon new epsilon
*/
inline void set_epsilon(float64_t epsilon) { m_epsilon = epsilon; }

Expand Down

0 comments on commit 519d74a

Please sign in to comment.