Skip to content

export_text() function in tcdt.py seems to be broken #2

Description

@AkashCherukuri

Basically the title, return value of export_text() in example.py is an empty string.
I think replacing line 429 with report = print_tree_recurse(self.root, report) fixes this, but I'm not sure.

Moreover, printing the decision tree before and after updating the rules by calling tcdt.update() for the given example yields the same tree.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions