CouncilDataProject / CouncilDataProject/cdp-data
Look into n-gram entropy
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 5
- Forks
- 4
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
From Bill:
> `(word1, frequncy), (word2, frequency), ...`
> then trying to measure how far that distribution is from uniform
> one simple nice way is entropy
> `P(word1)*log(P(word1)) + P(word2)*log(P(word2)) + ...`
> where P(word1) is just frequency of word1 / total words
>
> It's nice because it measures how "unpredictable" the signal is. If most words are zero, and only a few words are common, then it's predictable. Or, if all words are exactly the same, then it's predictable. But if it's crazy town, then it's not predictable.
This seems like a decent resource: http://normal-extensions.com/2013/08/04/entropy-for-n-grams/
Beitragsleitfaden
Rechercherichtung
Das Issue nennt keine Dateien, Tests oder Einstiegspunkte. Beginne damit, die verlinkte Ressource entropy-for-n-grams zu lesen, und kläre, wie Worthäufigkeiten in Wahrscheinlichkeiten und Entropie umgewandelt werden sollen. Im Issue ist nicht spezifiziert, was als Done gilt; lege vor der Implementierung die beabsichtigte Ausgabe und Validierung fest.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- jupyter-notebook
- Bereich
- data
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100