You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Xiaomeng Wan <sh...@gmail.com> on 2012/03/30 04:41:48 UTC
content of forest.seq
Hi,
I am trying the partial decision forest example, and wondering whether
there is any way to check the built trees stored in forest.seq file? I
cannot find any function in DecisionForest can do that. Thanks!
Regards,
Shawn
Re: content of forest.seq
Posted by deneche abdelhakim <ad...@gmail.com>.
Try ForestVisualizer, it's in org.apache.mahout.classifier.df.tools, just
launch it like you do for BuildForest and you will get a description of how
to use it.
On Fri, Mar 30, 2012 at 4:38 PM, Xiaomeng Wan <sh...@gmail.com> wrote:
> Hi Deneche,
>
> I did that. Is there any way I can print out the trees in plain text
> or some other visualization format so I can check what features and
> what thresholds they are using?
>
> Regards,
> Shawn
>
> On Thu, Mar 29, 2012 at 10:58 PM, deneche abdelhakim <ad...@gmail.com>
> wrote:
> > You can use DecisionForest.load(Configuration conf, Path path)
> > (org.apache.mahout.classifier.df package). You can just pass the output
> > path that contains the trees and this function will load them all.
> >
> > On Fri, Mar 30, 2012 at 3:41 AM, Xiaomeng Wan <sh...@gmail.com>
> wrote:
> >
> >> Hi,
> >> I am trying the partial decision forest example, and wondering whether
> >> there is any way to check the built trees stored in forest.seq file? I
> >> cannot find any function in DecisionForest can do that. Thanks!
> >>
> >> Regards,
> >> Shawn
> >>
>
Re: content of forest.seq
Posted by Xiaomeng Wan <sh...@gmail.com>.
Hi Deneche,
I did that. Is there any way I can print out the trees in plain text
or some other visualization format so I can check what features and
what thresholds they are using?
Regards,
Shawn
On Thu, Mar 29, 2012 at 10:58 PM, deneche abdelhakim <ad...@gmail.com> wrote:
> You can use DecisionForest.load(Configuration conf, Path path)
> (org.apache.mahout.classifier.df package). You can just pass the output
> path that contains the trees and this function will load them all.
>
> On Fri, Mar 30, 2012 at 3:41 AM, Xiaomeng Wan <sh...@gmail.com> wrote:
>
>> Hi,
>> I am trying the partial decision forest example, and wondering whether
>> there is any way to check the built trees stored in forest.seq file? I
>> cannot find any function in DecisionForest can do that. Thanks!
>>
>> Regards,
>> Shawn
>>
Re: content of forest.seq
Posted by deneche abdelhakim <ad...@gmail.com>.
You can use DecisionForest.load(Configuration conf, Path path)
(org.apache.mahout.classifier.df package). You can just pass the output
path that contains the trees and this function will load them all.
On Fri, Mar 30, 2012 at 3:41 AM, Xiaomeng Wan <sh...@gmail.com> wrote:
> Hi,
> I am trying the partial decision forest example, and wondering whether
> there is any way to check the built trees stored in forest.seq file? I
> cannot find any function in DecisionForest can do that. Thanks!
>
> Regards,
> Shawn
>