Skip to content

Commit

Permalink
get_default_code_length no longer needed to be virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed May 7, 2012
1 parent 32a078c commit 01dff0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/multiclass/ecoc/ECOCRandomSparseEncoder.h
Expand Up @@ -70,7 +70,7 @@ class CECOCRandomSparseEncoder: public CECOCEncoder
* S. Escalera, O. Pujol, and P. Radeva. Separability of ternary codes for sparse designs
* of error-correcting output codes. Pattern Recognition Letters, 30:285-297, 2009.
*/
virtual int32_t get_default_code_length(int32_t num_classes) const
int32_t get_default_code_length(int32_t num_classes) const
{
return static_cast<int32_t>(CMath::round(15 * CMath::log(num_classes)));
}
Expand Down

0 comments on commit 01dff0d

Please sign in to comment.