Skip to content
Prev 274048 / 398506 Next

pmml for random forest & rules

Hi Patrick,

Thanks for the detailed report. See comments below.
On 11 October 2011 05:57, Patrick McCann <patmmccann at gmail.com> wrote:
[...]
[...]
[...]
Sorry for the ambiguity there. It tries to say in the paper that "pmml" supports
"PMML export of a randomSurvivalForest "rsf" object". It mentions
randomForest but does not say it can export randomForest. There is
some experimental code for pmml.randomForest but it has not yet
been completed.
[...]
That's odd. Not quite sure yet what is causing that. On my system it
works just fine:
parameter = list(supp = 0.5, conf = 0.9,
                                 target = "rules"))
<PMML version="3.2" ...>
 <Header copyright="Copyright (c) 2011 gjw"...>
 <Extension name="user" value="gjw" extender="Rattle/PMML"/>
 <Application name="Rattle/PMML" version="1.2.27"/>
 <Timestamp>2011-10-11 21:50:40</Timestamp>
 </Header>
[...]

My system:
Rattle: version 2.6.11 cran 2.6.11
R: version 2.13.2 (2011-09-30) (Revision 57111)

Sysname: Linux
Release: 2.6.38-12-generic
Version: #51-Ubuntu SMP Wed Sep 28 14:27:32 UTC 2011
[...]
pmml: version 1.2.27
[...]
arules: version 1.0-6

I'm using R 2.13.2 - could that be an issue - you have 2.13.1?

Regards,
Graham