[ 
https://issues.apache.org/jira/browse/MAHOUT-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15896030#comment-15896030
 ] 

Trevor Grant commented on MAHOUT-1941:
--------------------------------------

Should have replied here, not dev.  Nice work- but a tip is to extend 
LinearRegressorFitter / Model. 

Even if you need to override for calculating standard error (since the Betas 
may not be normal) you'll avoid a lot of boilerplate code on the fitter tests.. 
You can just override as needed (e.g. you can override calculate stand error).

It's also possible there are things in LinearRegressorModel (and Fitter) that 
really belong in OLS, and don't generalize to all linear models. I don't claim 
to be infallible :)


> Use the existing regression infrastructure to implement Logistic Regression 
> using Samsara
> -----------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-1941
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1941
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Classification
>    Affects Versions: 1.0.0
>            Reporter: Saikat Kanjilal
>              Labels: features
>             Fix For: 1.0.0
>
>
> The goal is to reuse this chunk of mahout infrastructure to implement 
> logistic regression:  
> https://github.com/apache/mahout/tree/master/math-scala/src/main/scala/org/apache/mahout/math/algorithms/regression
> I need this for a work related POC and will get started by extending the 
> RegressorModel.scala, will also put forward a design proposal on the dev 
> mailing list.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to