[mlpack-git] [mlpack/mlpack] add cli executable for data_split (#650)

Marcus Edel notifications at github.com
Tue May 31 18:52:51 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

I think I get the intention, you like to preserve the data structure. In this case, I take it back.

---
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#r65277071
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160531/18d27508/attachment.html>


More information about the mlpack-git mailing list