May I know how to import DecisionTreeClassifier
from sklearn.tree
as there is an error shown: ModuleNotFoundError: No module named 'sklearn'
Also, every time when I want to import functions like pandas
, I need to pip install
them which is time-consuming. Is there any other methods to avoid installing each time for new importing function? ps I have downloaded anaconda
already, but not sure if it could work. Much Thanks!
You need to install the package Sklearn
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.