Describe the bug
Using multi-metric scoring in DistGridSearchCV results in an NameError:
File "/home//.local/lib/python3.6/site-packages/skdist/distribute/search.py", line 315, in fit
not isinstance(self.refit, six.string_types) or
NameError: name 'six' is not defined
To Reproduce
Steps to reproduce the behavior:
Create a DistGridSearchCV:
Thanks for raising this issue. Would you be open to submitting a PR for this fix and adding test coverage? I'd happily and quickly approve a PR that resolves it. Thanks.
Describe the bug Using multi-metric scoring in DistGridSearchCV results in an NameError: File "/home//.local/lib/python3.6/site-packages/skdist/distribute/search.py", line 315, in fit
not isinstance(self.refit, six.string_types) or
NameError: name 'six' is not defined
To Reproduce Steps to reproduce the behavior: Create a DistGridSearchCV:
GS_EVALUATION_METRICS_DICT = { 'accuracy' : 'accuracy', 'roc_auc' : 'roc_auc' }
model = GaussianNB() model_param_grid: {'var_smoothing': [1e-08, 0.0001, 0.01]}
Expected behavior A clear and concise description of what you expected to happen. No NameError
Additional context I think the error is easily fixable --> Add the import of the six library