Using Categorical Schemes for non-categorical data results in unhelpful error
See original GitHub issueWhen I tried to supply scheme=‘dark2’ for a qualitative column I got
Javascript Error: e is undefined
Looks like there’s an error in an exception handler somewhere
i.e.
color=alt.Color('Loss', scale=alt.Scale(scheme='dark2'))
Fails (reasonably) since ‘dark2’ isn’t a continuous scale, but the message could be more informative.
color=alt.Color('Loss', scale=alt.Scale(scheme='viridis'))
is ok.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Coding Systems for Categorical Variables in Regression ...
Another method for analyzing categorical data would be to use the glm command and ... This regression coding scheme yields the comparisons described...
Read more >Categorical encoding of decision variables in orbitofrontal cortex
Here we present a new algorithm to assess whether a neuronal representation is categorical or non-categorical, and to identify the encoded variables if...
Read more >Representing Categorical Data with Target Encoding
In this post we'll evaluate different encoding schemes, build a cross-fold target encoder to mitigate the drawbacks of the naive target encoder, ...
Read more >Categorical variable - Wikipedia
In statistics, a categorical variable (also called qualitative variable) is a variable that can take on one of a limited, and usually fixed,...
Read more >Chapter 16 Analyzing Experiments with Categorical Outcomes
from analyzing data with, say, a two-level categorical outcome (usually designated generically as “success” and “failure”) using ANOVA or regression or ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You could propose a more helpful error in http://github.com/vega/vega-lite
I moved the Vega-Lite issue to Vega: https://github.com/vega/vega/issues/1872