Looks like I can extract some of these classes, leaving Mahalanobis and
WeightedDistanceMeasure behind.  Then I can put conditionals on the
configuration.

On Sat, Aug 18, 2012 at 8:10 PM, Lance Norskog <[email protected]> wrote:

> Parametered.configure() and createParameters.()  take a Hadoop jobConf
> object. Really.
>
> Parametered->DistanceMeasure->
> org.apache.mahout.common.distance.MahalanobisDistanceMeasure implements
> them.
>
> Thus, factory objects might be the right choice if you want to get
> distance measure parameters out of the hadoop config file. I have not
> noticed other objects doing config this way.
>
> Lance
>
> On Sat, Aug 18, 2012 at 5:27 PM, Ted Dunning <[email protected]>
> wrote:
> > I haven't a clue what it really does.
> >
> > On Sat, Aug 18, 2012 at 3:31 PM, Sean Owen <[email protected]> wrote:
> >
> >> How about just removing that interface?  Is it essential?
> >>
>
>
>
> --
> Lance Norskog
> [email protected]
>

Reply via email to