loading...

A Simple Machine Learning Project in Python

Dr. Michael Garbade on May 29, 2018

Machine learning is a growing field in artificial intelligence. It aims to provide computer systems with the capability to learn patterns from data... [Read Full]
markdown guide
 

Hey! Nice one!

Just a single comment: When displaying the plot, it is important to add the following:

import matplotlib.pyplot as plt
# Show the plot
plt.show() 

Warm Regards!

 

Good!!!
Another workaround is we can use "%matplotlib inline" while import like below so that we no need to use plt.show() explicitly everytime.

import matplotlib.pyplot as plt
%matplotlib inline

Useful when you use Jupiter Notebook.

 

Yes, thanks for pointing that out.

code of conduct - report abuse