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

With larger datasets I get an accuracy of Infinity with each decision tree #2

Open
njfdiem opened this issue Sep 18, 2018 · 1 comment

Comments

@njfdiem
Copy link

njfdiem commented Sep 18, 2018

When I run this code on data sets of size 10000 and up I get an accuracy of Infinity and when the rules are printed Infinity is displayed instead of a decimal eg:

IF Outlook IS Sunny AND Temperature IS Mild AND Humidity IS Humid THEN Volleyball (Infinity)

@njfdiem
Copy link
Author

njfdiem commented Sep 18, 2018

After more testing it seems like the 'Infinity' error happens with certain data sets regardless of their size. It is most likely something to do with the values in the data set

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