[mlpack-git] [mlpack] Enhance class SoftmaxRegression (#456)

stereomatchingkiss notifications at github.com
Mon Sep 28 10:52:54 EDT 2015


> +   * @param fitIntercept add intercept term or not.
> +   */
> +  SoftmaxRegression(const size_t inputSize,
> +                    const size_t numClasses,
> +                    const bool fitIntercept = false);
> +
> +  /**
> +   * Construct the SoftmaxRegression class with the provided data and labels.
> +   * This will train the model.
> +   *
> +   * @param fileName name of the files saving the model contents
> +   * @param name name of the structure to be save
> +   * @exception If the file cannot be load, the exception will thrown
> +   */
> +  SoftmaxRegression(const std::string &fileName,
> +                    const std::string& name);

Agree with you, consistency is very important

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/456/files#r40561229
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150928/9e92f216/attachment.html>


More information about the mlpack-git mailing list