https://github.com/mchatcher/fast-computation-gini
Fast computation of the Gini coefficient
https://github.com/mchatcher/fast-computation-gini
bsxfun gini gini-coefficient gini-index matlab
Last synced: 28 days ago
JSON representation
Fast computation of the Gini coefficient
- Host: GitHub
- URL: https://github.com/mchatcher/fast-computation-gini
- Owner: MCHatcher
- Created: 2024-02-12T10:44:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-19T09:55:03.000Z (about 1 year ago)
- Last Synced: 2025-05-19T10:44:45.076Z (about 1 year ago)
- Topics: bsxfun, gini, gini-coefficient, gini-index, matlab
- Language: MATLAB
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fast-computation-Gini
This repository provides code for fast computation of the Gini coefficient using the bsxfun function in Matlab, plus a faster code based on sorting for cases where N is very large.
A slower code using explicit calculation and a double 'for' loop is provided to illustrate the speed gains.