摘要: 转载出处:http://www.cnblogs.com/yjhrem/articles/2310013.html编辑完成代码,用MyEclipse的代码格式化后,本来不长的代码也被自动转成了多行。虽然自动换行以后在编辑器中一眼就能看到全部的代码,但是可读性却大打折扣,避免出现这种情况的办法是:1.J... 阅读全文
posted @ 2014-11-01 14:37 whaozl 阅读(181) 评论(0) 推荐(0) 编辑
摘要: publicMetaCell[][]getByColumn(finalintcolumnIndex,intdecisionIndex){//【注意】final咯MetaCell[][]array=newMetaCell[m][2];//Entry参考http://blog.csdn.net/sun... 阅读全文
posted @ 2014-10-30 10:37 whaozl 阅读(12383) 评论(0) 推荐(0) 编辑
摘要: 参考:http://blog.csdn.net/sunmenggmail/article/details/8952712 http://www.cnblogs.com/fstang/archive/2013/04/20/3032097.html我希望要一个ArrayList,类似C++中的pair... 阅读全文
posted @ 2014-10-29 13:36 whaozl 阅读(4980) 评论(0) 推荐(0) 编辑
摘要: 参考 http://blog.csdn.net/superdont/article/details/3992033a=[1 23 4]如果使用b=reshape(a,1,4),则得到的结果是 b=[1 3 2 4]如果想得到b=[1 2 3 4], 需要使用 b=reshape(a',1,4)因为r... 阅读全文
posted @ 2014-06-13 22:18 whaozl 阅读(1669) 评论(0) 推荐(0) 编辑
摘要: 使用匿名内部类课使代码更加简洁、紧凑,模块化程度更高。内部类能够访问外部内的一切成员变量和方法,包括私有的,而实现接口或继承类做不到。然而这个不是我说的重点,我说的很简单,就是匿名内部类的两种实现方式:第一种,继承一个类,重写其方法;第二种,实现一个接口(可以是多个),实现其方法。下面通过代码来... 阅读全文
posted @ 2013-04-20 17:05 whaozl 阅读(1429) 评论(0) 推荐(0) 编辑
摘要: 在64位win7下安装微软的sql2008的时候,在进入management studio的连接服务器窗口下的服务器名称一栏为空,没有可选择的服务器。解决办法如下:1.打开Sql Server Configyration Manager(sql server配置工具), 双击左侧Sql server... 阅读全文
posted @ 2013-04-12 08:48 whaozl 阅读(2049) 评论(0) 推荐(0) 编辑
摘要: 最近我在写一个Java项目,其中需要给按钮添加背景图片,这个倒是很简单,困难的是如何调整背景图片的大小,纠结了很久,终于在网上找到了一个解决方法,拿出来和大家分享一下[java]view plaincopypublicvoidsetIcon(Stringfile,JButtoniconButton)... 阅读全文
posted @ 2013-04-06 19:50 whaozl 阅读(809) 评论(0) 推荐(0) 编辑
摘要: R语言中的机器学习包Machine Learning & Statistical Learning (机器学习 & 统计学习) 网址:http://cran.r-project.org/web/views/MachineLearning.html维护人员:Torsten Hothorn 版本:200... 阅读全文
posted @ 2013-03-25 22:28 whaozl 阅读(735) 评论(0) 推荐(0) 编辑
摘要: Mahout实现的机器学习算法见下表算法类算法名中文名分类算法Logistic Regression逻辑回归Bayesian贝叶斯SVM支持向量机Perceptron感知器算法Neural Network神经网络Random Forests随机森林Restricted Boltzmann Machi... 阅读全文
posted @ 2013-03-25 22:27 whaozl 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 什么是随机森林?Random forest is a classification technique that proposed byLeo Brieman (2001), given the set of class-labeled data, builds a set of classific... 阅读全文
posted @ 2013-03-24 11:17 whaozl 阅读(2016) 评论(0) 推荐(0) 编辑