Hey, Cool, I was already working on this but I will check your patch first. If it's working I will just commit it. Thanks for your contribution to Mahout
On Sat, Nov 26, 2011 at 11:09 AM, Ikumasa Mukai (Updated) (JIRA) < [email protected]> wrote: > > [ > https://issues.apache.org/jira/browse/MAHOUT-840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Ikumasa Mukai updated MAHOUT-840: > --------------------------------- > > Attachment: regression.patch > > Hello, > This is my first comment on jira. > > Now I am trying to implement a TreeBuilder which can also be used for > Regression problems with MAHOUT-840 modifications. > > For this, I think some additional modifications are needed (patch > attached). > Could you please check this patch? > > This patch contains these points. > 1) Changed target and prediction params from int to double. > 2) Added the prediction for regression problem (using majority rule if > target param is numeric) > 3) Added changes for using numeric target param. > 4) Added changes for detecting the target param type. > 5) Added a func on Dataset for getting the number of category type params. > > cheers > > > Decision Forests should support Regression problems > > --------------------------------------------------- > > > > Key: MAHOUT-840 > > URL: https://issues.apache.org/jira/browse/MAHOUT-840 > > Project: Mahout > > Issue Type: New Feature > > Components: Classification > > Reporter: Deneche A. Hakim > > Assignee: Deneche A. Hakim > > Attachments: regression.patch > > > > > > Improve Decision Forest code in order to handle numerical targets, thus > supporting regression problems > > -- > This message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA > administrators: > https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa > For more information on JIRA, see: http://www.atlassian.com/software/jira > > >
