Required modules ---------------------------- numpy 1.11.3 pandas 0.19.2 matplotlib 1.5.3 Keras 1.2.1 scikit-learn 0.18.1 h5py 2.6.0 hdf5 fuzzywuzzy nltk scipy we have defined our custom metrics so copy metrics.py to keras using this command. ----------------------------------------------------------------------------------- sudo cp metrics.py /usr/local/lib/python2.7/dist-packages/keras/ Compile and Run --------------------------------- python filename