-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Polynomial Classification: Remove highcharts, other minor improvements #112
Conversation
Codecov Report
@@ Coverage Diff @@
## master #112 +/- ##
==========================================
- Coverage 84.93% 83.91% -1.02%
==========================================
Files 20 20
Lines 3054 3097 +43
Branches 360 363 +3
==========================================
+ Hits 2594 2599 +5
- Misses 412 444 +32
- Partials 48 54 +6
Continue to review full report at Codecov.
|
57324fd
to
2035fa4
Compare
02c1a41
to
bab6154
Compare
It looks great 👍 👍 I have a comment regarding colours. It seems colours (regions, dots, legend) does not match. Here, for example, I would expect that Iris-setosa would be coloured with blue colour. The region seems to be coloured correctly and the legend for Iris-setosa is OK, just dots seem to have the wrong colour. Also, Iris-Virginica should be green but is blue now. I like the grey background for the non-selected classes. A similar problem appears when one select Iris-versicolor for a class. |
But the only effect of setting it to 0.2 is to remove some lines, or am I missing something? It does not make the plot more useful, I think. On the contrary, from dense lines one can see that the decision boundary is sharp.
Yes, let's do so. If @BlazZupan later complains, we'll add automation (or I'll add a slider, the only sensible values are 0.1, 0.15 and 0.2, I suppose). |
orangecontrib/educational/widgets/owpolynomialclassification.py
Outdated
Show resolved
Hide resolved
Oops. The idea was that the target class would be colored and other class(es) would be grayed out. With this, it is easier to decypher the target class and the meaning of probabilities -- if everyhing is colored, one must look at the combo to see the target. Obviously I haven't done it properly. Now I fixed it. One minor annoyance here: the target class is always class 1, not 0, but this looks stupid in the legend, so I had to derive a class from |
You are right. I didn't think about the fact that those plots with sharp edges have the same probability elsewhere (0 or 1). Agree with leaving it 0.1 |
Issue
Polynomial Classification uses highcharts. We'd prefer it didn't.
Doesn't pass tests on the oldest version of Orange, but should after merging #95, which increases the requirement.Description of changes
Polynomial classification now uses the common
OWScatterPlotBase
.Besides this,
Includes