https://github.com/rayraegah/mean-value-adjuster
A python class to combat troll votes in ranking systems
https://github.com/rayraegah/mean-value-adjuster
python ranking-methods statistics
Last synced: 8 months ago
JSON representation
A python class to combat troll votes in ranking systems
- Host: GitHub
- URL: https://github.com/rayraegah/mean-value-adjuster
- Owner: Rayraegah
- License: mit
- Created: 2018-08-01T23:22:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-01T23:40:00.000Z (almost 8 years ago)
- Last Synced: 2025-02-07T14:40:31.979Z (over 1 year ago)
- Topics: python, ranking-methods, statistics
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mean Value Adjuster
A python class to adjust the mean(average) value of a dataset by weighing each
value based on its z - score. Values closer to the mean are considered "better"
and so are given more weight.
# In ranking systems
Adjusted mean be used to give toll votes less weight.
# Example
```python
import mva
vote_values = [100, 70, 88, 91, 85, 60, 99, 2]
adjuster = mva.Adjuster(vote_values)
adjuster.get_true_mean()
adjuster.get_adjusted_mean()
```
# License
Released under MIT license