1) See the help pages for save() and load(). We do this all the time.
2) Prediction (or what you call scoring) given the matrix structure is
quite simple. Take a look at the underlying C source code. You can
write that in any language you want without much problem.
Andy
From: David Montgomery>
> Hi,
>
> I am new to R and have a specific question about the
> randomForest package and the saving of trees and scoring.
>
> 1) I am looking to save the trees and score at a later time.
> Is there a way to load the saved trees and use the predict
> function? Can objects be saved and loaded i.e. the
> randomForest function call? I dont want to have to rerun
> trees. Hopefully this applies to any stat type procedure
> that requires scoring.
>
> 2) Has anybody written any code in any other language that
> optimizes scoring using the format that the trees are saved
> in? Ideally I would like to do real time scoring outside of
> R and hoping that someone has code in python or c++developed
> around the matrix format of the tree structure.
>
> Thanks,
>
> David
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments,...{{dropped}}