A simple [Naive Bayes classifier]() in TensorFlow 1.4. It's a tidy
demonstration of tf.distributions
and some unusual tensor operations.
For more information, you can read the blog post.
Prepare the Python environment:
# Create a new virtualenv
mkvirtualenv env
source env/bin/activate
# Install requirements
pip install -r requirements.txt
And run the classifier:
python tf_iris.py