贝叶斯分类、KNN、特征选择、评估素材.ppt

  1. 1、本文档共78页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
贝叶斯分类、KNN、特征选择、评估 陈翀 Ref : PengBo@NCIS@PKU, WBIA lecture 本次课大纲 文本分类Text Categorization Problem definition Na?ve Bayes Classifier K-Nearest Neighbor Classifier Evaluation Categorization Definition Given: A description of an instance, x?X, where X is the instance language or instance space. Issue: how to represent text documents. A fixed set of categories: C = {c1, c2,…, cn} Determine: The category of x: c(x)?C, where c(x) is a categorization function whose domain is X and whose range is C. We want to know how to build categorization functions (“classifiers”). Text Categorization Examples Assign labels to each document or web: Labels are most often topics such as Yahoo-categories e.g., finance, sports, newsworldasiabusiness Labels may be genres e.g., editorials movie-reviews news“ Labels may be opinion e.g., “like”, “hate”, “neutral” Labels may be domain-specific binary e.g., interesting-to-me : not-interesting-to-me” e.g., “spam” : “not-spam” e.g., “contains adult language” :“doesn’t” Classification Methods Manual classification Used by Yahoo!, Looksmart, , ODP, Medline Accurate but expensive to scale Automatic document classification Hand-coded rule-based systems Spam mail filter,… Supervised learning of a document-label assignment function No free lunch: requires hand-classified training data Note that many commercial systems use a mixture of methods Na?ve Bayes Bernoulli trial Bernoulli trial is an experiment whose outcome is random and can be either of two possible outcomes, success and failure. Binomial Distribution binomial distribution is the discrete probability distribution of the number of successes in a sequence of n independent yes/no experiments, each of which yields success with probability p. Multinomial Distribution multinomial distribution is a generalization of the binomial distribution. each trial results in one of some fixed finite number k of possible outcomes, with probabilities p1, ..., pk, there are n independent trials. We can use a r

文档评论(0)

希望之星 + 关注
实名认证
内容提供者

我是一名原创力文库的爱好者!从事自由职业!

1亿VIP精品文档

相关文档