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

Ryan Curtin notifications at github.com
Mon Sep 28 09:22:53 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}

For consistency, do you mind if I change this to `()` initialization vs. `{}` initialization?

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


More information about the mlpack-git mailing list