"Spam(内置分类器)" (内置分类器)
根据内容检测是否是垃圾邮件:
类别
范例
打开所有单元 关闭所有单元基本范例 (2)
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)