Robin,

What I'll do here is make the code reusable so that we can use it in FPG 
directly as well.

On May 28, 2010, at 10:05 AM, Grant Ingersoll wrote:

> https://issues.apache.org/jira/browse/MAHOUT-403
> 
> On May 28, 2010, at 8:58 AM, Grant Ingersoll wrote:
> 
>> 
>> On May 27, 2010, at 7:06 PM, Ted Dunning wrote:
>> 
>>> That should be a small change (and helpful for a lot of mining tasks).
>>> 
>>> But once you jump on that slippery slope, why not allow a tiny Groovy
>>> closure to be injected?  Or to pass in an object that will extract a map of
>>> values from each line?
>> 
>> Expanding on this, I think we could do the following:
>> 
>> Map capturing groups to labels, then have pluggable output so that one could 
>> easily output to FPG, Classifiers, etc.
>> 
>> I'm not all that familiar w/ Groovy, so I'll put up my variation and then 
>> people can expand on it.
>> 
>> -Grant
> 
> 


Reply via email to