[scikit-learn] How can i write the birch prediction results to the file

Sema Atasever s.atasever at gmail.com
Tue Aug 22 04:48:59 EDT 2017


Dear Roman and Ali,

it did worked thanks for all your help.

Regards.

On Tue, Aug 22, 2017 at 11:33 AM, Roman Yurchak <rth.yurchak at gmail.com>
wrote:

> Hello Sema,
>
> On 22/08/17 11:24, Sema Atasever wrote:
> > "joblib.dump" produces a file format with npy extension so I can not
> open the file with the notepad editor. I can not see the predictions
> results inside the file.
>
>>
>> Is there another way to save the prediction results in text format?
>>
>
> Prediction results are just an array: you could use numpy.savetxt to save
> them in an ascii text format.
>
> --
> Roman
>
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20170822/3944149c/attachment-0001.html>


More information about the scikit-learn mailing list