I am writing my first machine learning program. I am totally new i am writing the python code in pycharm but i am getting error as below. i can't even find any tutorial for beginners maybe most people don't know it
ModuleNotFoundError: No module named 'scipy'
from sklearn import tree
features = [[140,1],[130,1],[150,0],[170,0]]
labels = [0,0,1,1]
clf = tree.DecisionTreeClassifier()
clf = clf.fit(features,labels)
print(clf.predict([[150, 0]]))
Traceback (most recent call last): File "C:/Users/LENOVO/PycharmProjects/MyPython/MyPyton.py", line 1, in from sklearn import tree File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python36\lib\site-packages\sklearn__init__.py", line 134, in from .base import clone File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python36\lib\site-packages\sklearn\base.py", line 10, in from scipy import sparse ModuleNotFoundError: No module named 'scipy'