I am pasting an issue here which is based on hyperclassifersearch package (which is based on this code). Any idea why i am getting the following?
One thing i do not understand is that when i use One Hot encoding ( when i switch to targetencoding i don't get the error) i get this error from running the below:
86
87 print('Search is done.')
---> 88 return best_model # allows to predict with the best model overall
89
90 def evaluate_model(self, sort_by='mean_test_score', show_timing_info=False):
UnboundLocalError: local variable 'best_model' referenced before assignment
The code i used to generate that error is as follows:
I am pasting an issue here which is based on hyperclassifersearch package (which is based on this code). Any idea why i am getting the following?
One thing i do not understand is that when i use One Hot encoding ( when i switch to targetencoding i don't get the error) i get this error from running the below:
The code i used to generate that error is as follows:
I dont understand this error? Can anybody help https://github.com/janhenner/HyperclassifierSearch <-- repo to package.