[mlpack-git] [mlpack/mlpack] add cli executable for data_split (#650)
Marcus Edel
notifications at github.com
Tue May 31 18:47:26 EDT 2016
> + if (!CLI::HasParam("training_labels_file"))
> + {
> + trainingLabelsFile = "train_" + inputLabels;
> + Log::Warn << "You did not specify --training_labels_file. "
> + << "Training labels file name is automatically set to: "
> + << trainingLabelsFile << endl;
> + }
> + if (!CLI::HasParam("test_labels_file"))
> + {
> + testLabelsFile = "test_" + inputLabels;
> + Log::Warn << "You did not specify --test_labels_file. "
> + << "Test labels file name is automatically set to: "
> + << testLabelsFile << endl;
> + }
> + }
> + else
We could also assume that the last dimension of the input data are the input labels, that's what the executables do.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/650/files/8ad3b900bba6c8535ad94b5af31aaab1de0c64d1#r65276536
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160531/b50c68f0/attachment.html>
More information about the mlpack-git
mailing list