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

Testing Works Great, How about new Predictions? #6

Open
ghost opened this issue May 14, 2018 · 1 comment
Open

Testing Works Great, How about new Predictions? #6

ghost opened this issue May 14, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented May 14, 2018

I'm going to continue to dive into the code, but I can't seem to figure out how if I have a trained forest off a data set, example:
[[1, 2, 3, 4]
[5, 6, 7, 8]
[9, 10, 11, 12]]

how to get RandomForest to predict the fourth (last) position from the test dataset, example:
[[13, 14, 15, ___ ]]

Of course, this isn't my application-- consecutive numbers, but it is the easiest example I can provide.
I haven't seen yet anything provided in the examples or documentation what happens after Run().
As I've said what I'm specifically asking for is a way for RandomTree to provide me it's vote on the last position of a data set if it can't do that already.. thanks!

@ironmanMA
Copy link
Owner

as mentioned #2 you could see how to train a dataset and then run on new data.

if i understand what you're really asking for here is a way to understand vote distribution of all the trees in the forest.
now thats really interesting proposition @evanschoffstall .

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

No branches or pull requests

1 participant