自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 J48源码学习笔记(四)buildTree(),collaspe(),prune()

ClassifierTree中的变量: /** The model selection method. */ protected ModelSelection m_toSelectModel; /** Local model at node. */ protected ClassifierSplitModel m_localModel; /** References

2015-12-31 16:30:11 740

原创 j48源码学习笔记(三)InfoGainSplitCrit, GainRatioSplitCrit,熵的计算

在C45Split用到了如下代码: m_distribution = new Distribution(m_complexityIndex, trainInstances.numClasses());//包数=分枝数 Enumeration enu = trainInstances.enumerateInstances();

2015-12-29 16:52:23 614

原创 J48源码学习笔记(二)Distribution与C45Split

Distribution.java 在划分模型选择中用来检查实例是否属于同一类变量: /** Weight of instances per class per bag. */ private double m_perClassPerBag[][]; /** Weight of instances per bag. */ private double m_perBag[];

2015-12-28 17:23:16 554

原创 J48源码学习笔记(一)

先从j48.java开始,j48.java继承了抽象类Classifier.java,其中第一个方法buildClassfier() public void buildClassifier(Instances instances) throws Exception { ModelSelection modSelection; if (m_binarySplit

2015-12-27 17:27:09 592

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除