auto-sklearn
auto-sklearn copied to clipboard
AutoSklearn2Classifier.fit() contains metric
Describe the bug
The fit-method of the AutoSklearn2Classifier contains a parameter metric, which is not used, and probably should not be there due to the according parameter in the constructor.
To Reproduce
Steps to reproduce the behavior:
- Go to AutoSklearn2Classifier.fit()
- Find the unused method parameter
metricin the signature of that method.
Expected behavior
The metric parameter should be defined in the constructor, and not be given to the fit()-method.
Actual behavior, stacktrace or logfile
The metric parameter can be given to the fit() method, but is not used anywhere there.
Environment and installation:
None.
Hi @tornede,
Thanks for the pointer, you're right and it should be removed! Will keep on the todo list for the next release :)
Best, Eddie