[mlpack-git] master: fix typo (e99c282)
gitdub at mlpack.org
gitdub at mlpack.org
Tue Jun 14 21:17:41 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/4fa39b6ab0baa1428116d0406264b5452e716d06...97402b9098d9d72889aa795923cf8fd67a4d87bf
>---------------------------------------------------------------
commit e99c282cf599be647b31e0159bcd91b5ff4821f0
Author: Keon Kim <kwk236 at gmail.com>
Date: Wed Jun 15 10:17:41 2016 +0900
fix typo
>---------------------------------------------------------------
e99c282cf599be647b31e0159bcd91b5ff4821f0
src/mlpack/methods/softmax_regression/softmax_regression_main.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp b/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp
index 63f3be9..8ec43f7 100644
--- a/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp
+++ b/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp
@@ -143,7 +143,7 @@ size_t CalculateNumberOfClasses(const size_t numClasses,
if (numClasses == 0)
{
const set<size_t> unique_labels(begin(trainLabels),
- end(trainLabels));
+ end(trainLabels));
return unique_labels.size();
}
else
@@ -233,9 +233,9 @@ void TestPredictAcc(const string& testFile,
template<typename Model>
unique_ptr<Model> TrainSoftmax(const string& trainingFile,
- const string& labelsFile,
- const string& inputModelFile,
- const size_t maxIterations)
+ const string& labelsFile,
+ const string& inputModelFile,
+ const size_t maxIterations)
{
using namespace mlpack;
More information about the mlpack-git
mailing list