effector/deprecated-greedy-binning
| Pack | Severity | Fix | Versions |
|---|---|---|---|
| effector | warning | safe, with xpd check --fix |
All versions |
"greedy" and effector.axis_partitioning.Greedy are deprecated aliases for "agglomerative" and effector.axis_partitioning.Agglomerative in effector 0.6.
rhale.fit("all", binning_method="greedy")rhale.fit("all", binning_method="agglomerative")What the rule reports
Section titled “What the rule reports”binning_method="greedy" keyword arguments and calls to Greedy(...) in files that import effector.
How to fix it
Section titled “How to fix it”Replace binning_method="greedy" with binning_method="agglomerative" (safe autofix via xpd check --fix), and replace Greedy(...) with Agglomerative(...).
Diagnostic message
Section titled “Diagnostic message”binning_method='greedy' is a deprecated alias in effector. Use binning_method='agglomerative' instead.See all rules in the effector pack.