"XML file for textual view of trees"

nicugeorgiannicugeorgian MemberPosts:31Guru
edited May 2019 inHelp
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 operatorIOObjectWriterhelp 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 ProfessorPosts:1,751RM 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 InorRegisterto comment.