[mlpack-git] [mlpack] Enhance SoftmaxRegression (#457)

Ryan Curtin notifications at github.com
Wed Sep 30 09:29:56 EDT 2015


> @@ -141,13 +140,8 @@ class SoftmaxRegression
>     * @param numClasses Number of classes for classification.
>     * @return Objective value of the final point.
>     */
> -  double Train(const arma::mat &data, const arma::vec& labels,
> -               const size_t numClasses);
> -
> -  //! Sets the size of the input vector.
> -  size_t& InputSize() { return inputSize; }
> -  //! Gets the size of the input vector.
> -  size_t InputSize() const { return inputSize; }

Oops, you were right, it is `n_cols` not `n_rows`.  Sorry for the confusion.  I see you also already wrote `FeatureSize()`, so nothing for me to do. :)

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


More information about the mlpack-git mailing list