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

stereomatchingkiss notifications at github.com
Wed Sep 30 00:18: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; }

Sorry, it should be n_cols, not n_rows

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


More information about the mlpack-git mailing list