Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support simple tree-traversal operations #5

Open
aidanmorgan opened this issue Jul 29, 2013 · 0 comments
Open

Support simple tree-traversal operations #5

aidanmorgan opened this issue Jul 29, 2013 · 0 comments

Comments

@aidanmorgan
Copy link

Hi,

I've just started playing around with this library, and I'm really impressed. The code is very easy to use and understand,

I was wondering if there would be any way that some simple tree traversal methods could be added? I would love to be able to choose how I would like the tree to be presented (e.g. using graphvis, or a "truth table"), however at the moment I am having difficulty working out exactly how to move through the tree that is generated after training.

I would think that a "simple" getPathToLeaf|Root, [depth|breadth]FirstSearch() etc. would be really helpful.

Also, is there a simple way to work out exactly what should be displayed when looking at a specific cycle through the tree? Sometimes I end up generating paths through the tree that look exactly the same (i.e. they branch on the same values and end up at different leaves).

Cheers,

Aidan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant