You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Isabel Drost (JIRA)" <ji...@apache.org> on 2008/10/16 13:40:44 UTC
[jira] Created: (MAHOUT-85) Perceptron/Winnow Trainer
Perceptron/Winnow Trainer
-------------------------
Key: MAHOUT-85
URL: https://issues.apache.org/jira/browse/MAHOUT-85
Project: Mahout
Issue Type: New Feature
Components: Classification
Reporter: Isabel Drost
Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Isabel Drost (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786679#action_12786679 ]
Isabel Drost commented on MAHOUT-85:
------------------------------------
It is just a sequential version of the algorithm. No parallelisation and no Hadoop involved.
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Affects Versions: 0.1
> Reporter: Isabel Drost
> Assignee: Isabel Drost
> Fix For: 0.3
>
> Attachments: perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Kay Kay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658860#action_12658860 ]
Kay Kay commented on MAHOUT-85:
-------------------------------
Would it be better to add another ctor. with the distance measure as a configurable parameter (with cosine being retained as the default measure ).
Also - regarding LinearModel ( member: Vector and methods: add (Vector delta) , timesDelta(Vector delta) ) - can having additional abstraction of a HyperPlane (with Vector as members and addDelta / timesDelta / distance as methods to it ). That might be more cleaner , since theoretically we define a LinearModel to be a HyperPlane with a specific DistanceMeasure and perform classification on the same, and adding / scaling the hyperplane vector is better consolidated separately as opposed to the LinearModel itself.
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Reporter: Isabel Drost
> Assignee: Isabel Drost
> Attachments: perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786696#action_12786696 ]
Sean Owen commented on MAHOUT-85:
---------------------------------
Sure, worth committing or shelving, you think? Just trying to review all the old issues that haven't seen activity in a year or so.
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Affects Versions: 0.1
> Reporter: Isabel Drost
> Assignee: Isabel Drost
> Fix For: 0.3
>
> Attachments: perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795990#action_12795990 ]
Sean Owen commented on MAHOUT-85:
---------------------------------
Isabel do you think this is 'close enough' to put in the code base? I can submit? As you say, further issues could be tracked separately.
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Affects Versions: 0.1
> Reporter: Isabel Drost
> Assignee: Isabel Drost
> Fix For: 0.3
>
> Attachments: MAHOUT-85.patch, MAHOUT-85.patch, perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Isabel Drost (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659173#action_12659173 ]
Isabel Drost commented on MAHOUT-85:
------------------------------------
Thanks for the comments. I will try to incorporate these in the next version of the patch.
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Reporter: Isabel Drost
> Assignee: Isabel Drost
> Attachments: perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Isabel Drost (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Isabel Drost updated MAHOUT-85:
-------------------------------
Attachment: MAHOUT-85.patch
The patch has tests added to the implementation. The additional abstraction proposed earlier is integrated. Distance measure is not configurable but corresponds to what was defined in the original algorithm formulations.
The implementation currently is sequential-only. Still evaluating, if and how is might be possible to parallelize.
Missing so far: An example showing how to use training, how to store the resulting model and how to apply the model. Probably should be done in a new issue to keep this one focused on the algorithm itself. In addition I still have to at least add links from our wiki to the wikipedia pages on both algorithms.
(Had some time left during the past few days: Screws in my knee are out now ;) )
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Affects Versions: 0.1
> Reporter: Isabel Drost
> Assignee: Isabel Drost
> Fix For: 0.3
>
> Attachments: MAHOUT-85.patch, MAHOUT-85.patch, perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Isabel Drost (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789312#action_12789312 ]
Isabel Drost commented on MAHOUT-85:
------------------------------------
I am about to add tests currently. I guess, I will commit once I have those done and go on with a parallel version from there.
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Affects Versions: 0.1
> Reporter: Isabel Drost
> Assignee: Isabel Drost
> Fix For: 0.3
>
> Attachments: perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Updated: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by Isabel Drost <is...@apache.org>.
On Friday 31 October 2008, Grant Ingersoll wrote:
> I hope to get to these sometime in the next week or so
:)
> (maybe will actually have some time at ApacheCon this year) Is there any
> examples I could try out?
I am currently about to set up an example for text classification. I wanted to
use the WebKB dataset. My plan was to read and parse the texts into vectors
with UIMA, store them to disk and feed them into the classifier. Currently I
am still working on the UIMA part.
> Would also be good if you could write up on the Wiki
> some intro/background.
About to do that. Will add a links to relevant documentation as well - the
wikipedia article on the perceptron isn't too bad for instance.
Isabel
--
One Bell System - it used to work before they installed the Dimension!
|\ _,,,---,,_ Web: <http://www.isabel-drost.de>
/,`.-'`' -. ;-;;,_
|,4- ) )-,_..;\ ( `'-'
'---''(_/--' `-'\_) (fL) IM: <xm...@spaceboyz.net>
Re: [jira] Updated: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by Grant Ingersoll <gs...@apache.org>.
Hey Isabel,
I hope to get to these sometime in the next week or so (maybe will
actually have some time at ApacheCon this year) Is there any examples
I could try out? Would also be good if you could write up on the Wiki
some intro/background. I'd love to be able to add info on it to my
talk on Wednesday.
Thanks,
Grant
On Oct 16, 2008, at 7:42 AM, Isabel Drost (JIRA) wrote:
>
> [ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
>
> Isabel Drost updated MAHOUT-85:
> -------------------------------
>
> Attachment: perceptronWinnowTrainer.diff
>
> The attachment mentioned above.
>
>> Perceptron/Winnow Trainer
>> -------------------------
>>
>> Key: MAHOUT-85
>> URL: https://issues.apache.org/jira/browse/MAHOUT-85
>> Project: Mahout
>> Issue Type: New Feature
>> Components: Classification
>> Reporter: Isabel Drost
>> Attachments: perceptronWinnowTrainer.diff
>>
>>
>> Please find attached a first sketch for perceptron and winnow
>> training. Please look very, very carefully at the patch, as I added
>> the heart of the algorithms in the emergency room at Charite Berlin
>> (after I broke my leg when cycling to the Hadoop Get Together ;) ).
>> The patch does not yet feature unit tests nor is it parallelised.
>> Currently my plan is to set up an example with the webKb dataset,
>> add unit tests to the code and after that go parallel. I would like
>> to get some feedback early on, in addition I would feel a lot
>> better, if a second and third pair of eyes had a look at the code
>> to make sure all obvious mistakes are out as early as possible.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
[jira] Updated: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Isabel Drost (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Isabel Drost updated MAHOUT-85:
-------------------------------
Attachment: perceptronWinnowTrainer.diff
The attachment mentioned above.
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Reporter: Isabel Drost
> Attachments: perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798489#action_12798489 ]
Grant Ingersoll commented on MAHOUT-85:
---------------------------------------
Why is PerceptronTrainingMapper empty? Are there Driver programs for this? How do you use the model once it is trained?
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Affects Versions: 0.1
> Reporter: Isabel Drost
> Assignee: Isabel Drost
> Fix For: 0.3
>
> Attachments: MAHOUT-85.patch, MAHOUT-85.patch, perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Isabel Drost (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Isabel Drost resolved MAHOUT-85.
--------------------------------
Resolution: Fixed
Finally committed.
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Affects Versions: 0.1
> Reporter: Isabel Drost
> Assignee: Isabel Drost
> Fix For: 0.3
>
> Attachments: MAHOUT-85.patch, MAHOUT-85.patch, perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Isabel Drost (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Isabel Drost reassigned MAHOUT-85:
----------------------------------
Assignee: Isabel Drost
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Reporter: Isabel Drost
> Assignee: Isabel Drost
> Attachments: perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated MAHOUT-85:
----------------------------
Affects Version/s: 0.1
Fix Version/s: 0.3
More housekeeping for 0.3. Is this still pretty commitable? I'd go for it if you think it's basically sound.
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Affects Versions: 0.1
> Reporter: Isabel Drost
> Assignee: Isabel Drost
> Fix For: 0.3
>
> Attachments: perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Isabel Drost (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798524#action_12798524 ]
Isabel Drost commented on MAHOUT-85:
------------------------------------
No, sorry. That was me committing a change that I made for MAHOUT-240 - reverted it.
So far there are no Driver programs yet: This is only the sequential version. The model should be stored after training and loaded at application time. I have deferred implementing an end-to-end example to MAHOUT-241. Currently the implementation only provides for the training logic.
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Affects Versions: 0.1
> Reporter: Isabel Drost
> Assignee: Isabel Drost
> Fix For: 0.3
>
> Attachments: MAHOUT-85.patch, MAHOUT-85.patch, perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MAHOUT-85) Perceptron/Winnow Trainer
Posted by "Isabel Drost (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Isabel Drost updated MAHOUT-85:
-------------------------------
Attachment: MAHOUT-85.patch
The patch has tests added to the implementation. The additional abstraction proposed earlier is integrated. Distance measure is not configurable but corresponds to what was defined in the original algorithm formulations.
The implementation currently is sequential-only. Still evaluating, if and how is might be possible to parallelize.
Missing so far: An example showing how to use training, how to store the resulting model and how to apply the model. Probably should be done in a new issue to keep this one focused on the algorithm itself. In addition I still have to at least add links from our wiki to the wikipedia pages on both algorithms.
(Had some time left during the past few days: Screws in my knee are out now ;) )
> Perceptron/Winnow Trainer
> -------------------------
>
> Key: MAHOUT-85
> URL: https://issues.apache.org/jira/browse/MAHOUT-85
> Project: Mahout
> Issue Type: New Feature
> Components: Classification
> Affects Versions: 0.1
> Reporter: Isabel Drost
> Assignee: Isabel Drost
> Fix For: 0.3
>
> Attachments: MAHOUT-85.patch, perceptronWinnowTrainer.diff
>
>
> Please find attached a first sketch for perceptron and winnow training. Please look very, very carefully at the patch, as I added the heart of the algorithms in the emergency room at Charite Berlin (after I broke my leg when cycling to the Hadoop Get Together ;) ).
> The patch does not yet feature unit tests nor is it parallelised. Currently my plan is to set up an example with the webKb dataset, add unit tests to the code and after that go parallel. I would like to get some feedback early on, in addition I would feel a lot better, if a second and third pair of eyes had a look at the code to make sure all obvious mistakes are out as early as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.