rasbt / python-machine-learning-book

The "Python Machine Learning (1st edition)" book code repository and info resource
MIT License
12.18k stars 4.39k forks source link

mlxtend no longer has tf_classifier #72

Closed anyaconda closed 5 years ago

anyaconda commented 5 years ago

I wanted to run your code that compares TensorFlow with SKLearn but it no longer works. https://github.com/rasbt/python-machine-learning-book/blob/master/faq/tensorflow-vs-scikitlearn.md

In addition, your mlxtend package no longer has tf_classifier and consequently no TfSoftMaxRegression.

Would you have an updated resource by any chance?

rasbt commented 5 years ago

I've removed the TensorFlow code from mlxtend because it became pretty inconvenient to maintain. The original code should still be available through GitHub. E.g., if you install mlxtend 0.5.1, (pip install mlxtend=0.5.1) or browse through the files here: https://github.com/rasbt/mlxtend/tree/86e40d5af5222d78acf219cc8188cfd28a972d9e/mlxtend/tf_classifier

anyaconda commented 5 years ago

Makes sense. Thank you for a quick reply, Sebastian. I'll browse your book for other examples. Anya

On Sun, Jul 22, 2018 at 8:09 AM, Sebastian Raschka <notifications@github.com

wrote:

I've removed the TensorFlow code from mlxtend because it became pretty inconvenient to maintain. The original code should still be available through GitHub. E.g., if you install mlxtend 0.5.1, (pip install mlxtend=0.5.1) or browse through the files here: https://github.com/rasbt/ mlxtend/tree/86e40d5af5222d78acf219cc8188cfd28a972d9e/mlxtend/tf_ classifier

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rasbt/python-machine-learning-book/issues/72#issuecomment-406873453, or mute the thread https://github.com/notifications/unsubscribe-auth/AgAFZObvQFSAjhDiiEo4EeaIRfyPfiWCks5uJJWQgaJpZM4VZ4Hm .

rasbt commented 5 years ago

Sounds good :). I will close this thread for now, but pls let me know if you have any further questions