-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[ENH] Discretize: Manual cut points entry #4929
[ENH] Discretize: Manual cut points entry #4929
Conversation
f101bc0
to
79696ed
Compare
Codecov Report
@@ Coverage Diff @@
## master #4929 +/- ##
==========================================
+ Coverage 84.24% 84.48% +0.23%
==========================================
Files 283 283
Lines 57873 58230 +357
==========================================
+ Hits 48757 49193 +436
+ Misses 9116 9037 -79 |
d96d947
to
d1e96f1
Compare
d1e96f1
to
ae61e97
Compare
I really like this, but I noticed a couple of things.
|
Fixed
It copies the current (non-manual) cut points to the edit field and at the same time activates the Manual option. |
Nice. How difficult would it be to somehow indicate an invalid input? I keep forgetting commas. It would be nice to also indicate that the order is not increasing. Are commas really necessary? Why not also accepting "1 2 3"? In case of invalid input (e.g. in default), the output is "single_value". Any chance of renaming this to "invalid_cut_of_points"? In Iris, I set Entropy-MDL as default, then choose sepal width and click CC. I get "2.95, 3.3499999999999996". It would be nicer to have "2.95, 3.35", which are also the values shown in the list view on the left. Also, when I click Cc, the line edit does not refresh, but this is probably the problem with my Qt -- it does repaint if I hide and show the widget. |
Allow the user to input fixed custom splits
Treat empty data in EqualWidth the same as other methods
(due to namedtuple comparison)
... when no action is set.
Update on disc_method_changed
Indicate invalid text with a background and show a tip at text cursor position.
9b8df09
to
d1485c8
Compare
Issue
Ref: #4914 (comment) (1)
Description of changes
Provide custom values input in Discretize widget.
Includes