New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: module 'cflearn' has no attribute 'make' #1
Comments
I installed it using: sudo pip3 install carefree-learn My cflearn.py file is: import cflearn
from cfdata.tabular import TabularDataset
x, y = TabularDataset.iris().xy
m = cflearn.make().fit(x, y)
# Make label predictions
m.predict(x)
# Make probability predictions
m.predict_prob(x)
# Estimate performance
cflearn.estimate(x, y, wrappers=m) |
I finally realized that your file is named Simply rename your file and everything should be OK 😁 |
Yes, I renamed it and it works now. Thanks! |
You're welcome! 😄 |
On my Ubuntu 18.04.4 server, when I run your quick start code, I get this error:
root@server1:~/newautoml# python3 cflearn.py
Traceback (most recent call last):
File "cflearn.py", line 1, in
import cflearn
File "/root/newautoml/cflearn.py", line 5, in
m = cflearn.make().fit(x, y)
AttributeError: module 'cflearn' has no attribute 'make'
The text was updated successfully, but these errors were encountered: