-
-
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] Correlations: Enhancements and fixes #3660
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3660 +/- ##
==========================================
+ Coverage 84.33% 84.35% +0.01%
==========================================
Files 370 370
Lines 67896 67940 +44
==========================================
+ Hits 57263 57309 +46
+ Misses 10633 10631 -2 |
Generate all possible attribute pairs, starting with pairs within clusters, followed by pairs among clusters.
1b0a16d
to
6c363cd
Compare
@@ -206,9 +218,11 @@ class Outputs: | |||
correlation_type = Setting(0) | |||
|
|||
class Information(OWWidget.Information): | |||
removed_cons_feat = Msg("Constant features have been removed.") | |||
|
|||
class Warning(OWWidget.Warning): | |||
not_enough_vars = Msg("Need at least two continuous features.") | |||
not_enough_inst = Msg("Need at least two instances.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we make these messages proper sentences?
instances = None # type: Optional[List] | ||
centroid = None # type: Optional[np.ndarray] | ||
|
||
|
||
class KMeansCorrelationHeuristic: | ||
""" | ||
Heuristic to obtain the most promising attribute pairs, when there are to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to -> too
(not important, skip if you don't make any other, substantial changes)
Issue
Implements the last part of #3504.
Description of changes
Need at least two continuous features.
andNeed at least two instances.
messages as warningsIncludes