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

Chap 8 in Book Differs from Notebook #2

Open
YMandCL opened this issue Jan 25, 2020 · 0 comments
Open

Chap 8 in Book Differs from Notebook #2

YMandCL opened this issue Jan 25, 2020 · 0 comments

Comments

@YMandCL
Copy link

YMandCL commented Jan 25, 2020

In Chapter 8 of the book you use Logistic Regression for the "Meta-Learner".
Accuracy from GaussianNB: 0.3913333333333333
Accuracy from KNN: 0.697
Accuracy from Decision Tree: 0.728
Accuracy from Meta Learner: 0.7746666666666666

However, in the Notebook you use GaussianNB as the "Meta-Learner". The notebook appears a bit incomplete, but if you follow the book you get the following results:
Accuracy from Logistic Regression: 0.7746666666666666
Accuracy from KNN: 0.697
Accuracy from Decision Tree: 0.7333333333333333
Accuracy from Meta Learner: 0.772

I'm not really sure what is going on here. It appears the "Meta Learner" from the book is simply outputting Logistic Regression results.

Yet, using GaussianNB as the "Meta Learner" improves upon the GaussianNB accuracy but is no better than Logistic Regression.

I could be off on my code, but any clarification you could provide would be much appreciated.

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

No branches or pull requests

1 participant