摘要: 1.贝叶斯分类器: 用途:分类,举例:垃圾邮件过滤。 是一种典型的监督算法。需要经过训练才能后续进行分类。 进行贝叶斯分类的时候,最重要的环节是特征的提取,这个将训练或者分类的数据转化成一个特征列表。 优点:速度快。对分类器实际学习状况的解释相对简单。 缺陷:无法处理基于特征组合所产生的变化结果。 2.决策树分类器 决策树从根部开始构造。 根据不同的特征拆分,对决策树的构建的影响是... 阅读全文
posted @ 2014-12-28 22:30 程序员小王 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 这道题的难度不算特别大,主要是对链表技能的考察。 奉上我写的代码: class Solution ... 阅读全文
posted @ 2014-12-28 11:45 程序员小王 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 这道题的难度不算特别大,主要是对链表技能的考察。 奉上我写的代码: class Solution ... 阅读全文
posted @ 2014-12-28 11:38 程序员小王 阅读(74) 评论(0) 推荐(0) 编辑