You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------------------ 原始邮件 ------------------
发件人: "LAMDA-NJU/Deep-Forest" ***@***.***>;
发送时间: 2024年3月17日(星期天) 上午10:26
***@***.***>;
***@***.******@***.***>;
主题: Re: [LAMDA-NJU/Deep-Forest] 安装了deep-forest 但是出现 报错 (Issue #136)
你好,我也遇到了同样的问题。我是通过pip安装的deepforest。Python3.12 ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest'
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
importError Traceback (most recent call last)
Cell In[8], line 5
2 from sklearn.model_selection import train_test_split
3 from sklearn.metrics import accuracy_score
----> 5 from deepforest import CascadeForestClassifier
7 X, y = load_digits(return_X_y=True)
8 X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=1)
ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (D:\anaconda\lib\site-packages\deepforest_init_.py)
The text was updated successfully, but these errors were encountered: