These are practice exercises from Youtube channel by Siraj Raval named Learn Python for Data Science. Check out his amazing channel.
If you are using Python3, use 'pip3 install' to install dependencies instead of 'pip install'. Use Python3 filename.py to run the code instead of Python filename.py. Change the training data to get more accurate results. Enjoy!!!