"XML file for textual view of trees"

nicugeorgian
nicugeorgian New Altair Community Member
edited November 2024 in Community Q&A
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

  • IngoRM
    IngoRM New Altair Community Member
    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

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.