Skip to content
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

Error n_jobs >1 #426

Open
ghk829 opened this issue May 30, 2019 · 1 comment
Open

Error n_jobs >1 #426

ghk829 opened this issue May 30, 2019 · 1 comment

Comments

@ghk829
Copy link

ghk829 commented May 30, 2019

I trained a model with parameters : model_names model_names=['GradientBoostingRegressor','RandomForestRegressor']
Then Error occured in

#predictor.py : line 42

  if m.im_self is None:
AttributeError: 'function' object has no attribute 'im_self'
@ghk829
Copy link
Author

ghk829 commented May 30, 2019

I run this code

import os
os.environ['is_test_suite']="True"
from auto_ml import Predictor
from auto_ml.utils import get_boston_dataset
from auto_ml.utils_models import load_ml_model

# Load data
df_train, df_test = get_boston_dataset()

# Tell auto_ml which column is 'output'
# Also note columns that aren't purely numerical
# Examples include ['nlp', 'date', 'categorical', 'ignore']
#
column_descriptions = {
  'CHAS': 'output'

}

ml_predictor = Predictor(type_of_estimator='regressor', column_descriptions=column_descriptions)
ml_predictor.train(df_train,model_names=['GradientBoostingRegressor','RandomForestRegressor'])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant