You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by Dan Filimon <da...@gmail.com> on 2013/01/01 21:58:45 UTC

How come math doesn't depend on core?

Specifically, I'm playing around with implementing a pet peeve [1].
I can't access org.apache.mahout.common.Pair in mahout-math. What's
the simplest way of doing that?

Thanks!

[1] https://issues.apache.org/jira/browse/MAHOUT-1135

Re: How come math doesn't depend on core?

Posted by Jake Mannix <ja...@gmail.com>.
On Tuesday, January 1, 2013, Ted Dunning wrote:

> Jake's comment is to the point.
>
> The real difference between math and core is that core depends on hadoop
> and math does not.  That makes math much more widely useful.
>
> On Tue, Jan 1, 2013 at 7:03 PM, Jake Mannix <jake.mannix@gmail.com<javascript:;>>
> wrote:
>
> > +1
> >
> > math should get anything not data-structurey which doesn't depend on
> > Hadoop.


Note: should read "anything data-structurey"


> >
> > On Tuesday, January 1, 2013, Ted Dunning wrote:
> >
> > > I would rather see Pair moved to math.
> > >
> > > On Tue, Jan 1, 2013 at 2:20 PM, Dan Filimon <
> dangeorge.filimon@gmail.com <javascript:;>
> > <javascript:;>
> > > >wrote:
> > >
> > > > I fixed it by moving the classes I wanted into core rather than math.
> > > > I moved WeightedVector and Centroid to core.
> > > >
> > > > I'm playing around with a patch for that vector refactoring peeve
> [1].
> > > >
> > > > [1] https://issues.apache.org/jira/browse/MAHOUT-1135
> > > >
> > > > On Tue, Jan 1, 2013 at 11:16 PM, Sean Owen <srowen@gmail.com<javascript:;>
> > <javascript:;>>
> > > wrote:
> > > > > core depends on math. I suppose the idea way back when was that
> math
> > > > > was core-core and should and could be separable.
> > > > > You just need to depend on core (too).
> > > > >
> > > > > On Tue, Jan 1, 2013 at 8:58 PM, Dan Filimon <
> > > dangeorge.filimon@gmail.com <javascript:;> <javascript:;>>
> > > > wrote:
> > > > >> Specifically, I'm playing around with implementing a pet peeve
> [1].
> > > > >> I can't access org.apache.mahout.common.Pair in mahout-math.
> What's
> > > > >> the simplest way of doing that?
> > > > >>
> > > > >> Thanks!
> > > > >>
> > > > >> [1] https://issues.apache.org/jira/browse/MAHOUT-1135
> > > >
> > >
> >
> >
> > --
> >
> >   -jake
> >
>


-- 

  -jake

Re: How come math doesn't depend on core?

Posted by Ted Dunning <te...@gmail.com>.
Jake's comment is to the point.

The real difference between math and core is that core depends on hadoop
and math does not.  That makes math much more widely useful.

On Tue, Jan 1, 2013 at 7:03 PM, Jake Mannix <ja...@gmail.com> wrote:

> +1
>
> math should get anything not data-structurey which doesn't depend on
> Hadoop.
>
> On Tuesday, January 1, 2013, Ted Dunning wrote:
>
> > I would rather see Pair moved to math.
> >
> > On Tue, Jan 1, 2013 at 2:20 PM, Dan Filimon <dangeorge.filimon@gmail.com
> <javascript:;>
> > >wrote:
> >
> > > I fixed it by moving the classes I wanted into core rather than math.
> > > I moved WeightedVector and Centroid to core.
> > >
> > > I'm playing around with a patch for that vector refactoring peeve [1].
> > >
> > > [1] https://issues.apache.org/jira/browse/MAHOUT-1135
> > >
> > > On Tue, Jan 1, 2013 at 11:16 PM, Sean Owen <srowen@gmail.com
> <javascript:;>>
> > wrote:
> > > > core depends on math. I suppose the idea way back when was that math
> > > > was core-core and should and could be separable.
> > > > You just need to depend on core (too).
> > > >
> > > > On Tue, Jan 1, 2013 at 8:58 PM, Dan Filimon <
> > dangeorge.filimon@gmail.com <javascript:;>>
> > > wrote:
> > > >> Specifically, I'm playing around with implementing a pet peeve [1].
> > > >> I can't access org.apache.mahout.common.Pair in mahout-math. What's
> > > >> the simplest way of doing that?
> > > >>
> > > >> Thanks!
> > > >>
> > > >> [1] https://issues.apache.org/jira/browse/MAHOUT-1135
> > >
> >
>
>
> --
>
>   -jake
>

Re: How come math doesn't depend on core?

Posted by Jake Mannix <ja...@gmail.com>.
+1

math should get anything not data-structurey which doesn't depend on Hadoop.

On Tuesday, January 1, 2013, Ted Dunning wrote:

> I would rather see Pair moved to math.
>
> On Tue, Jan 1, 2013 at 2:20 PM, Dan Filimon <dangeorge.filimon@gmail.com<javascript:;>
> >wrote:
>
> > I fixed it by moving the classes I wanted into core rather than math.
> > I moved WeightedVector and Centroid to core.
> >
> > I'm playing around with a patch for that vector refactoring peeve [1].
> >
> > [1] https://issues.apache.org/jira/browse/MAHOUT-1135
> >
> > On Tue, Jan 1, 2013 at 11:16 PM, Sean Owen <srowen@gmail.com<javascript:;>>
> wrote:
> > > core depends on math. I suppose the idea way back when was that math
> > > was core-core and should and could be separable.
> > > You just need to depend on core (too).
> > >
> > > On Tue, Jan 1, 2013 at 8:58 PM, Dan Filimon <
> dangeorge.filimon@gmail.com <javascript:;>>
> > wrote:
> > >> Specifically, I'm playing around with implementing a pet peeve [1].
> > >> I can't access org.apache.mahout.common.Pair in mahout-math. What's
> > >> the simplest way of doing that?
> > >>
> > >> Thanks!
> > >>
> > >> [1] https://issues.apache.org/jira/browse/MAHOUT-1135
> >
>


-- 

  -jake

Re: How come math doesn't depend on core?

Posted by Ted Dunning <te...@gmail.com>.
I would rather see Pair moved to math.

On Tue, Jan 1, 2013 at 2:20 PM, Dan Filimon <da...@gmail.com>wrote:

> I fixed it by moving the classes I wanted into core rather than math.
> I moved WeightedVector and Centroid to core.
>
> I'm playing around with a patch for that vector refactoring peeve [1].
>
> [1] https://issues.apache.org/jira/browse/MAHOUT-1135
>
> On Tue, Jan 1, 2013 at 11:16 PM, Sean Owen <sr...@gmail.com> wrote:
> > core depends on math. I suppose the idea way back when was that math
> > was core-core and should and could be separable.
> > You just need to depend on core (too).
> >
> > On Tue, Jan 1, 2013 at 8:58 PM, Dan Filimon <da...@gmail.com>
> wrote:
> >> Specifically, I'm playing around with implementing a pet peeve [1].
> >> I can't access org.apache.mahout.common.Pair in mahout-math. What's
> >> the simplest way of doing that?
> >>
> >> Thanks!
> >>
> >> [1] https://issues.apache.org/jira/browse/MAHOUT-1135
>

Re: How come math doesn't depend on core?

Posted by Dan Filimon <da...@gmail.com>.
I fixed it by moving the classes I wanted into core rather than math.
I moved WeightedVector and Centroid to core.

I'm playing around with a patch for that vector refactoring peeve [1].

[1] https://issues.apache.org/jira/browse/MAHOUT-1135

On Tue, Jan 1, 2013 at 11:16 PM, Sean Owen <sr...@gmail.com> wrote:
> core depends on math. I suppose the idea way back when was that math
> was core-core and should and could be separable.
> You just need to depend on core (too).
>
> On Tue, Jan 1, 2013 at 8:58 PM, Dan Filimon <da...@gmail.com> wrote:
>> Specifically, I'm playing around with implementing a pet peeve [1].
>> I can't access org.apache.mahout.common.Pair in mahout-math. What's
>> the simplest way of doing that?
>>
>> Thanks!
>>
>> [1] https://issues.apache.org/jira/browse/MAHOUT-1135

Re: How come math doesn't depend on core?

Posted by Sean Owen <sr...@gmail.com>.
core depends on math. I suppose the idea way back when was that math
was core-core and should and could be separable.
You just need to depend on core (too).

On Tue, Jan 1, 2013 at 8:58 PM, Dan Filimon <da...@gmail.com> wrote:
> Specifically, I'm playing around with implementing a pet peeve [1].
> I can't access org.apache.mahout.common.Pair in mahout-math. What's
> the simplest way of doing that?
>
> Thanks!
>
> [1] https://issues.apache.org/jira/browse/MAHOUT-1135