Remove redundant templates

This commit is contained in:
Kirill Mishchenko
2017-08-05 15:59:53 +05:00
parent f81c4744b1
commit 447d3bddb5
2 changed files with 0 additions and 12 deletions
-9
View File
@@ -46,32 +46,23 @@ class CVBase
/**
* Assert that MLAlgorithm doesn't take any additional basic parameters like
* numClasses.
*
* The constructor is templated to avoid instantiation before being called.
*/
template<typename = void>
CVBase();
/**
* Assert that MLAlgorithm takes the numClasses parameter and store it.
*
* The constructor is templated to avoid instantiation before being called.
*
* @param numClasses Number of classes in the dataset.
*/
template<typename = void>
CVBase(const size_t numClasses);
/**
* Assert that MLAlgorithm takes the numClasses parameter and a
* data::DatasetInfo parameter and store them.
*
* The constructor is templated to avoid instantiation before being called.
*
* @param datasetInfo Type information for each dimension of the dataset.
* @param numClasses Number of classes in the dataset.
*/
template<typename = void>
CVBase(const data::DatasetInfo& datasetInfo,
const size_t numClasses);
-3
View File
@@ -19,7 +19,6 @@ template<typename MLAlgorithm,
typename MatType,
typename PredictionsType,
typename WeightsType>
template<typename>
CVBase<MLAlgorithm,
MatType,
PredictionsType,
@@ -34,7 +33,6 @@ template<typename MLAlgorithm,
typename MatType,
typename PredictionsType,
typename WeightsType>
template<typename>
CVBase<MLAlgorithm,
MatType,
PredictionsType,
@@ -50,7 +48,6 @@ template<typename MLAlgorithm,
typename MatType,
typename PredictionsType,
typename WeightsType>
template<typename>
CVBase<MLAlgorithm,
MatType,
PredictionsType,