blobcity / autoai

Python based framework for Automatic AI for Regression and Classification over numerical data. Performs model search, hyper-parameter tuning, and high-quality Jupyter Notebook code generation.
Apache License 2.0
175 stars 43 forks source link

TypeError: 'NoneType' object is not subscriptable #250

Closed sanketsarang closed 3 months ago

sanketsarang commented 3 months ago

Run fails for ExtraTreesRegressor

Traceback (most recent call last):
  File "RegressionTest.py", line 25, in <module>
    model=bc.train(file=file_path,target=target,features=features) # function to test AutoAI Process
  File "./blobcity/main/driver.py", line 77, in train
    modelClass = model_search(dataframe=CleanedDF,target=target,DictClass=dict_class,disable_colinearity=disable_colinearity,model_types=model_types,accuracy_criteria=accuracy_criteria,epochs=epochs,max_neural_search=max_neural_search)
  File "./blobcity/main/modelSelection.py", line 315, in model_search
    if modelResult[2]<accuracy_criteria:
TypeError: 'NoneType' object is not subscriptable