mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: LogisticModelParameters#saveTo(OutputStream) generates an empty file
Date Mon, 06 Jun 2011 11:57:40 GMT
Svetlomir,

Can you say more about your application?

Would it be possible to move to using the ModelSerialization style?  The
LogisticModelParameters style is fairly limited insofar as what it can do.

On Thu, Jun 2, 2011 at 5:01 PM, Svetlomir Kasabov <
skasab2s@smail.inf.fh-brs.de> wrote:

> Hello,
>
> since I updated my trunk version of Mahout today, I get an empty file for
> the model when executing this code:
>
> /    OutputStream modelOutput = new FileOutputStream(LOGISTIC_MODEL);
>     try {
>           this.lmp.saveTo(modelOutput);
>     } finally {
>           modelOutput.close();
>     }
>
> Do you know what can be the problem?
>
> Many thanks,
>
> Svetlomir.
> /
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message