wekaLogistic源代码分析.docVIP

  • 5
  • 0
  • 约6.44千字
  • 约 4页
  • 2017-06-07 发布于重庆
  • 举报
wekaLogistic源代码分析

weka[29] Logistic 源代码分析 作者:Koala++/屈伟 Logistic Regression 是非常重要的一个算法,可以从 Tom Mitchell 的主页上把 new chapter 的第一章看一下,或是 Ng Andrew 的 lecture notes 的 Part II 看一下。 从 buildClassifier 开始: if train.classAttribute .type ! Attribute.NOMINAL throw new UnsupportedClassTypeException Class attribute must be nominal. ; if train.checkForStringAttributes throw new UnsupportedAttributeTypeException Cant handle string attributes! ; train new Instances train ; train.deleteWithMissingClass ; if train.numInstances 0 throw new IllegalArgumentException No train instances without missing class value! ; 类别属性

文档评论(0)

1亿VIP精品文档

相关文档