当前位置:   article > 正文

Spark-MLlib的快速使用之十二(逻辑回归 垃圾邮件分类)_mllib-垃圾邮件检测

mllib-垃圾邮件检测

 

Logistic分类器的适用范围:,比如“是否为垃圾邮件”、“是否为体育新闻”、‘病患是否得了流感’。

(1)训练数据

ham.txt

Dear Spark Learner, Thanks so much for attending the Spark Summit 2014! Check out videos of talks from the summit at ...

Hi Mom, Apologies for being late about emailing and forgetting to send you the package. I hope you and bro have been ...

Wow, hey Fred, just heard about the Spark petabyte sort. I think we need to take time to try it out immediately ...

Hi Spark user list, This is my first question to this list, so thanks in advance for your help! I tried running ...

Thanks Tom for your email. I need to refer you to Alice for this one. I haven't yet figured out that part either ...

Good job yesterday! I was attending your talk, and really enjoyed it. I want to try out GraphX ...

Summit demo got whoops from audience! Had to let you know. --Joe

spam.txt

Dear sir, I am a Prince in a far kingdom you have

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/790424
推荐阅读
相关标签
  

闽ICP备14008679号