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