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

stereomatchingkiss notifications at github.com
Mon Sep 28 10:47:20 EDT 2015


> @@ -14,47 +14,59 @@ namespace mlpack {
>  namespace regression {
>  
>  template<template<typename> class OptimizerType>
> +SoftmaxRegression<OptimizerType>::
> +SoftmaxRegression(const size_t inputSize,
> +                  const size_t numClasses,
> +                  const bool fitIntercept) :
> +  inputSize{inputSize},
> +  numClasses{numClasses},
> +  lambda{0.0001},
> +  fitIntercept{fitIntercept}

No problem(I use {} to avoid narrow conversion)

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


More information about the mlpack-git mailing list