Open praveenkumar-ravising opened 3 years ago
@praveenkumar-ravising @brendalf @shankarpandala 😕 I faced the same issue with the same error message when I use make_scorer of sklearn to define an f1 macro scorer. There is no documentation of how to correctly make a custom metric scorer for lazypredict.
Description: Setting custom_metric of LazyClassifier returns a ValueError: arrays must all be same length.
Steps to reproduce the behavior: Set the value of custom_metric in LazyClassifer to sklearn.metrics log_loss
Expected behavior: Log Loss metric column should be returned in the scores dataframe
Screenshot:![image](https://user-images.githubusercontent.com/19551626/105621296-04617580-5e2c-11eb-9c9b-a6651b44d3f5.png)
Desktop:
Additional Content: -> Error points to TIME list when constructing the scores dataframe -> Also the issue happens irrespective of verbose value i.e. 0 or 1