エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
naive bayes
naive-bayes.rb ��\ �� ��\ �� class Classifier def initialize @features = {} # { "height_2" => { b... naive-bayes.rb ��\ �� ��\ �� class Classifier def initialize @features = {} # { "height_2" => { body_img => 10, spam_img => 2 } } @categories = {} # { body_img => 8, spam_img => 2 } @thresholds = {} end def set_threshold(category, threshold) @thresholds[category] = threshold end # features = {"http:"=>1, "あわせて"=>1, "読"=>1, "img.awasete.com"=>1, "width_125"=>1, "height_125"=>1, "ブログパーツ"=>1, "みたい"=>



2015/06/02 リンク