"XML file for textual view of trees"

nicugeorgiannicugeorgian Member Posts: 31 Maven
edited May 2019 in Help
Hi,

given the textual view corresponding to a regression tree: how can one map it into an XML file? Is there an operator for this? Can the operator IOObjectWriter help here?

The textual view looks as follows:

attribute1 <= 7.5 :
|  attribute2=2 <= 0.5 :
|  |  attribute3 <= 41.5 : LM1 (129/160.433%)
Thanks,
Geo
Tagged:

Answers

  • IngoRMIngoRM Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    Hi,

    no, sorry, there is no operator available for this. This tree format is similar to that of C4.5 and I have written a parser for this several years ago. I do not have the code any longer but it was not too hard to write it...

    Cheers,
    Ingo
Sign In or Register to comment.