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

Ryan Curtin notifications at github.com
Mon Sep 28 09:31:24 EDT 2015


>  }
>  
>  template<template<typename> class OptimizerType>
>  SoftmaxRegression<OptimizerType>::SoftmaxRegression(
> -    OptimizerType<SoftmaxRegressionFunction>& optimizer) :
> -    parameters(optimizer.Function().GetInitialPoint()),
> -    inputSize(optimizer.Function().InputSize()),
> -    numClasses(optimizer.Function().NumClasses()),
> -    lambda(optimizer.Function().Lambda())
> +  OptimizerType<SoftmaxRegressionFunction>& optimizer) :
> +  parameters(optimizer.Function().GetInitialPoint()),
> +  inputSize{optimizer.Function().InputSize()},
> +  numClasses{optimizer.Function().NumClasses()},
> +  lambda{optimizer.Function().Lambda()},
> +  fitIntercept{optimizer.Function().FitIntercept()}

This should be four spaces in from the previous line; I'll fix this when I merge it in.  (It happens a couple other places too.)  I'm just pointing it out here so that you know. :)

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


More information about the mlpack-git mailing list