"Spam" (組込み分類器)
電子メールが迷惑メールかどうかを内容から判別する.
クラス
例題
すべて開く すべて閉じる例 (2)
組込み分類器の"Spam"を使って電子メールが迷惑メールかどうかをその内容から識別する:
Classify["Spam", "Dear recipient,*** Technologies announces the beginning of a new unprecendented global employment campaign.reviser yeller winers butchery twenties
Due to company's exploding growth *** is expanding business to the European region.During last employment campaign over 1500 people worldwide took part in ***'s business
and more than half of them are currently employed by the company.And now we are offering you
one more opportunity to earn extra money working with *** Technologies.druggists blame classy gentry Aladdin
We are looking for honest,responsible,hard-working people that can dedicate 2-4 hours of their
time per day and earn extra Â$300-500 weekly.All offered positions are currently part-time
and give you a chance to work mainly from home.lovelies hockey Malton meager reordered
Please visit ***'s corporate web site (http://www.***.com/sta/home/0077.htm) for more details regarding these vacancies."]Classify["Spam", "Dear recipient,*** Technologies announces the beginning of a new unprecendented global employment campaign.reviser yeller winers butchery twenties
Due to company's exploding growth *** is expanding business to the European region.During last employment campaign over 1500 people worldwide took part in ***'s business
and more than half of them are currently employed by the company.And now we are offering you
one more opportunity to earn extra money working with *** Technologies.druggists blame classy gentry AladdinPlease visit ***'s corporate web site (http://www.***.com/sta/home/0077.htm) for more details regarding these vacancies.", "Probabilities"]この分類器のClassifierFunctionを得る:
c = Classify["Spam"]c["Dear recipient,
***
Technologies announces the beginning of a new unprecendented global employment campaign.reviser yeller winers butchery twenties
Due to company's exploding growth *** is expanding business to the European region.During last employment campaign over 1500 people worldwide took part in ***'s business
and more than half of them are currently employed by the company.And now we are offering you
one more opportunity to earn extra money working with *** Technologies.druggists blame classy gentry AladdinPlease visit ***'s corporate web site (http://www.***.com/sta/home/0077.htm) for more details regarding these vacancies."]スコープ (1)
組込み分類器に対応するClassifierFunctionをロードする:
c = Classify["Spam"]Informationを使って可能なクラスを得る:
Information[c, "Classes"]オプション (2)
ClassPriors (1)
カスタムのClassPriorsを使って可能な出力を制限する:
Classify["Spam", "Dear recipient,
***
Technologies announces the beginning of a new unprecendented global employment campaign.reviser yeller winers butchery twenties
Due to company's exploding growth *** is expanding business to the European region.During last employment campaign over 1500 people worldwide took part in ***'s business
and more than half of them are currently employed by the company.And now we are offering you
one more opportunity to earn extra money working with *** Technologies.druggists blame classy gentry AladdinPlease visit ***'s corporate web site (http://www.***.com/sta/home/0077.htm) for more details regarding these vacancies.", ClassPriors -> <|False -> 0.4, True -> 0.6|>]IndeterminateThreshold (1)
カスタムのIndeterminateThresholdを使う:
Classify["Spam", "Dear recipient,
***
Technologies announces the beginning of a new unprecendented global employment campaign.reviser yeller winers butchery twenties
Due to company's exploding growth *** is expanding business to the European region.During last employment campaign over 1500 people worldwide took part in ***'s business
and more than half of them are currently employed by the company", IndeterminateThreshold -> 0.7]関連するガイド
-
▪
- 機械学習
履歴
2018 で導入 (11.3)