prediction seems to retrain...

30 views
Skip to first unread message

pitrolla

unread,
Oct 24, 2011, 11:01:30 AM10/24/11
to randomjungle
Hi,

First of all: Thank you very much for making the regression part of RF
available in this great software!

I'm using the tool to both train models and using these models to
predict new datasets.
However, (and please correct me it I'wrong) It seems that in
prediction mode (-P) the model is induced again on the data provided
in the -f flag. Why is this? It seems the model is not read from the
supplied XML file....

thanx in advance,
Sven Degroeve, PhD

Jochen Kruppa

unread,
Oct 24, 2011, 2:22:37 PM10/24/11
to sven.d...@gmail.com, randomjungle
Dear Degroeve,

please find my answer below your citation.


> However, (and please correct me it I'wrong) It seems that in
> prediction mode (-P) the model is induced again on the data provided
> in the -f flag. Why is this? It seems the model is not read from the
> supplied XML file....

The model is saved in the XML file. Therefore, if you want to predict new data, provided with -f, with the saved model you must provide data again. The XML file contains no data and if you use -P no new forest is grown: the saved XML forest is now used.

Hopefully I was able to answer your question.

Best

Jochen

-- 
Jochen Kruppa, M.Sc.
    Wissenschaftlicher Mitarbeiter

UNIVERSITÄT ZU LÜBECK
    INSTITUT FÜR MEDIZINISCHE BIOMETRIE UND STATISTIK

    Maria-Goeppert-Str. 1
    23562 Lübeck
 
    Tel: 0451/500 - 2782
    Fax: 0451/500 - 2999




2011/10/24 pitrolla <sven.d...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "randomjungle" group.
To post to this group, send email to random...@googlegroups.com.
To unsubscribe from this group, send email to randomjungle...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/randomjungle?hl=en.


Reply all
Reply to author
Forward
0 new messages