CouncilDataProject / CouncilDataProject/cdp-data

Look into n-gram entropy

オープン
#6 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Jupyter Notebook
スター
5
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

説明

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/

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

この issue には、ファイル、テスト、エントリーポイントが記載されていません。まずリンクされた entropy-for-n-grams リソースを読み、単語頻度を確率とエントロピーに変換する方法を明確にしてください。issue では Done の条件が指定されていないため、実装前に想定する出力と検証方法を確立してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
jupyter-notebook
領域
data
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。