evidently icon indicating copy to clipboard operation
evidently copied to clipboard

ValueError in ProbClassificationPerformanceTab

Open sanram905 opened this issue 3 years ago • 2 comments

Hi,

I'm testing evidently with light gbm binary classifier and getting the following error:

ValueError: Found array with 0 sample(s) (shape=(0, 2)) while a minimum of 1 is required

on calculate quality metrics for ProbClassificationPerformanceTab, though DataDriftTab works fine.

Can you help please? is it possible to add new quality metric e.g. gini to the dashboard?

Thanks for your amazing work

sanram905 avatar Jul 05 '22 14:07 sanram905

Hi @sanram905 , first of all we do apologise for the late response. Apparently, we missed your question 😔

That's very interesting, especially tacking into account that DataDriftReport works. We know, that we have a problem with the N/A values. Particularly, we try to filter out them from the dataset and sometimes it leads to the unforeseen consequences. Do you think that might be connected to the error you got? Were there any missing values among the targets or projections?

emeli-dral avatar Jul 25 '22 21:07 emeli-dral

Hi Emeli, Thanks for getting back on it. Yes you are the right. The issue is due to missing values in the dataset. It works if all missing values are dropped or imputed. I have another question: is it possible to add another dimension to data distribution plots?

sanram905 avatar Aug 09 '22 15:08 sanram905