摘要: 回归与梯度下降: 回归在数学上来说是给定一个点集,能够用一条曲线去拟合之,如果这个曲线是一条直线,那就被称为线性回归,如果曲线是一条二次曲线,就被称为二次回归,回归还有很多的变种,如locally weighted回归,logistic回归,等等,这个将在后面去讲。 用一个很简单的例子来说明回归,这 阅读全文
posted @ 2017-05-08 20:40 一边挖鼻屎一边 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 在用C或者C++处理大数时感觉非常麻烦,但是在JAVA中有两个类BigInteger和BigDecimal分别表示大整数类和大浮点数类,至于两个类的对象能表示最大范围不清楚,理论上能够表示无线大的数,只要计算机内存足够大. 这两个类都在java.math.*包中,因此每次必须在开头处引用该包。 1. 阅读全文
posted @ 2017-03-07 21:12 一边挖鼻屎一边 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 整体目标: 安装虚拟机,并安装一套LAMP(Linux+Apache+Mysql+PHP)待测系统,推荐ECShop(http://www.ecshop.com),基于此进行Jmeter压力测试,并在测试后得出Jmeter测试报告,并根据sysstat得出Linux服务器的CIMN(CPU、IO、M 阅读全文
posted @ 2016-04-26 18:31 一边挖鼻屎一边 阅读(463) 评论(0) 推荐(0) 编辑
摘要: 实验要求: 1、安装SeleniumIDE插件 2、学会使用SeleniumIDE录制脚本和导出脚本 3、访问http://www.ncfxy.com使用学号登录系统(账户名为学号,密码为学号后6位),进入系统后可以看到该用户的邮箱。 4、编写Selenium Java WebDriver程序,测试 阅读全文
posted @ 2016-04-17 22:47 一边挖鼻屎一边 阅读(125) 评论(0) 推荐(0) 编辑
摘要: P64 (a) (b) when MAXPRIMES = 4, array will out of bound (c) n = 1 (d) node coverage: TR = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16} Test Paths: [1,2,3, 阅读全文
posted @ 2016-03-29 21:23 一边挖鼻屎一边 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Description of triangle problem: Function triangle takes three integers a,b,c which are length of triangle sides; calculates whether the triangle is e 阅读全文
posted @ 2016-03-19 23:47 一边挖鼻屎一边 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 1. First program doesn't exist a state whose i = 0. Second program can only return first 0 in x. 2. x = null Expected = Null PointerException    x = n 阅读全文
posted @ 2016-03-13 23:27 一边挖鼻屎一边 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 上学期期末写web作业的问题吧, sevelet与jsp之间的传值问题: 在sevelet中重定向至jsp中,用同一个变量名来在不同的表单中读值 type = "hidden" name = "ID4" value = "${sign}" 还有一个sql注入漏洞的预防,就是过滤吧, * 通过Filt 阅读全文
posted @ 2016-03-06 22:18 一边挖鼻屎一边 阅读(119) 评论(0) 推荐(0) 编辑
摘要: AccountBookProblemStatementVersion1.0RevisionHistoryDateIssueDescriptionAuthor23/May/20154.2Initialcreation.ExtractedtheProblemStatementfromtheVisiond... 阅读全文
posted @ 2015-05-26 00:20 一边挖鼻屎一边 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 看到了同学们的博客才发现这节课讲的是18~22章先介绍一下线程;ppt上给的例子不知道为什么运行不出来 class Program { static void Main(string[] args) { Thread myThread = ne... 阅读全文
posted @ 2015-05-11 21:48 一边挖鼻屎一边 阅读(164) 评论(0) 推荐(0) 编辑