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
'numpy.float32' object has no attribute 'is_integer' #15
Comments
could you share your data set? |
Sorry for keeping you waiting. I'm sharing with you my notebook with all the files, including the databases used (in the
We now import the database in this way: I don't have the old code with me now, but I can send it to you the next week if needed. |
When I run this in my environment, it works well. I have Python 3.8.12, pandas==1.3.5. I recommend you to upgrade or downgrade to my environment level. from chefboost import Chefboost as chef
import pandas as pd
df = pd.read_csv("healthcare-dataset-stroke-data.csv", index_col=0)
print(df.head())
configGBM = {'algorithm': 'C4.5', 'enableGBM': True, 'epochs': 7, 'learning_rate': 1, 'max_depth': 5, 'enableParallelism': False}
modelGBM = chef.fit(df = df, config = configGBM) Output logs:
|
Tried to do the following on a dataset with float samples. (Running on Python 3.7)
Error Log:
The text was updated successfully, but these errors were encountered: