Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The global feature importance plot keeps loading in case cohort has zero data points #1246

Open
gaugup opened this issue Feb 25, 2022 · 0 comments

Comments

@gaugup
Copy link
Contributor

gaugup commented Feb 25, 2022

This issue is seen with both classification and regression scenarios.

Let's say user creates a cohort which results in the cohort having zero data points.

image

Then the global feature importance in model assessment keeps on loading.

image

We also see the following error in the console logs:-

FeatureImportanceBar.tsx:191 Uncaught TypeError: Cannot read properties of undefined (reading 'toLocaleString')
at FeatureImportanceBar.tsx:191:60

at Array.map ()
at FeatureImportanceBar.tsx:187:41
at Array.forEach ()
at FeatureImportanceBar.buildBarPlotlyProps (FeatureImportanceBar.tsx:185:33)
at FeatureImportanceBar.tsx:122:26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant