mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kate Ericson <eric...@cs.colostate.edu>
Subject Re: capture stdout from testclassifier?
Date Sun, 27 Mar 2011 06:53:36 GMT
Hi Selwyn,

If redirecting standard out isn't getting the output you're looking
for, it may be going to stderr.  The command for doing that depends on
what shell you're using.

Hope this helps
-Kate

On Sat, Mar 26, 2011 at 6:21 PM, Selwyn McCracken
<selwyn.mccracken@gmail.com> wrote:
> Hi,
>
> I have been using Mahout 0.4 to follow the wikipedia bayes example
> from the wiki (
> https://cwiki.apache.org/MAHOUT/wikipedia-bayes-example.html)
>
> Everything works fine, but how do I store the results printed to
> stdout into a file? There is a lot of output generated and the summary
> results spill off the terminal screen before I can review them.
>
> I tried the standard shell trick of diverting the results to a file,
> but to no avail:
>
> $MAHOUT_HOME/bin/mahout testclassifier \
>  -m  /user/ubuntu/wikipediamodel \
>  -d  /user/ubuntu/wikipediainput > result.txt
>
> Thanks,
> Selwyn
>

Mime
View raw message