How to Solve NameError: name 'GaussianNB' is not defined -- sklearn
Solution: Import the 'GaussianNB' module
To Solve the error, add the following line to the top of your code.
from sklearn.naive_bayes import GaussianNB
For more information:
Python sklearn GaussianNB