This is sample program written in Python using Keras and Tensorflow.
It is building simple model from CSV data file. train.py
script is to learn this model.
predict.py
is to load model and predict what is the class of new given example.
You need to configure your pip3 to be able to install Tensorflow 1.2.0:
python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.2.0-py3-none-any.whl
Initial code which was modified I obtained from https://github.com/tkc/Keras-practice