PIP-Technical-Team / wbpip

Official methodological Stats of PIP
https://pip-technical-team.github.io/wbpip/
Other
3 stars 1 forks source link

Md gini efficiency #242

Closed zander-prinsloo closed 8 months ago

zander-prinsloo commented 8 months ago

Purpose

Small changes to the computation of the gini to make sure it uses collapse.

The reasons for using collapse here: a) it works well with many object classes, allowing it to be used in pipster; b) it is more efficient.

Additional change

small change to md_compute_dist_stats to remove the collapse:: because the package is already imported.

Other

All tests are passing. The results of the gini have not changed.