上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 27 下一页
摘要: 表格自动换行 由于HTML嵌套iframe比较多,代码比较shit,js domain啥的都一样。。 找了很久就是不换行,强行换行!!加上white-space立马见效。 禁止外部垂直滚动条 还有就是禁止垂直滚动条,找了几天的原因,最后终于解决 主页面 iframe属性已经设置为scrolling= 阅读全文
posted @ 2016-03-08 20:16 一杯半盏 阅读(269) 评论(0) 推荐(0)
摘要: 本文章的PHP使用版本:5.4.7 PHP建议使用: spl_autoload_register 那么写了一种实现 文件路径 core core.php ChildrenClass.php ParentClass.php test index.php core.php ChildrenClass.p 阅读全文
posted @ 2016-03-05 18:43 一杯半盏 阅读(235) 评论(0) 推荐(0)
摘要: JQuery选择器 大于 空格 波浪线 加号的区别 元素遍历 参见 Jquery API Child Selector (“parent > child”) Selects all direct child elements specified by “child” of elements spec 阅读全文
posted @ 2016-03-05 14:04 一杯半盏 阅读(226) 评论(0) 推荐(0)
摘要: PhpStorm10和Apache24配置多项目开发环境 Apache配置 httpd.conf 再配置 httpd-vhosts.conf 配置完成,重启即可。如果不能重启,可能配置的不对。。尤其是权限,注意Apache是否支持。比如说Allow from all。。。。。百度一大片 PhpSto 阅读全文
posted @ 2016-03-01 18:35 一杯半盏 阅读(358) 评论(0) 推荐(0)
摘要: Log4j slf4j 配置简单介绍 先借鉴一篇很好的文章 为什么要使用SLF4J而不是Log4J import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class StandAlone { private Logger lo 阅读全文
posted @ 2016-02-15 10:05 一杯半盏 阅读(399) 评论(0) 推荐(0)
摘要: JavaWeb EL表达式 key为 Map取不到值 因为JSTL会把Integer,Byte,Short,Charactor都转成Long,这样就取不到值。 参见StackOverFlow的回答 EL access a map value by Integer key 解决办法: 当后台传出一个M 阅读全文
posted @ 2016-01-19 12:55 一杯半盏 阅读(328) 评论(0) 推荐(0)
摘要: Exercise 4: Logistic Regression and Newton’s Method 回顾一下线性回归 hθ(x)=θTx Logistic Regression hθ(x)=11+e−θTx=p{y=1|x;θ} cost(hθ(x),y)的选择 cost(hθ(x),y)=−l 阅读全文
posted @ 2015-12-25 15:00 一杯半盏 阅读(285) 评论(0) 推荐(0)
摘要: Exercise 3: Multivariate Linear Regression 预处理数据 Preprocessing the inputs will significantly increase gradient descent’s efficiency Matlab代码 Normal eq 阅读全文
posted @ 2015-12-21 17:08 一杯半盏 阅读(185) 评论(0) 推荐(0)
摘要: Exercise 2: Linear Regression 话说LaTex用起来好爽 Matlab代码 迭代并且画出拟合曲线 Linear regression 公式如下 hθ(x)=θTx=∑i=0nθixi (i是代表x的个数) batch gradient descent update rul 阅读全文
posted @ 2015-12-17 18:32 一杯半盏 阅读(179) 评论(0) 推荐(0)
摘要: Python学习笔记 import this 显示python的哲学思想。 python是运行在PVM上的,类似Java虚拟机,字节码文件是pvc后缀。 python的命名空间是文件模块。命令空间使用封装的思想,解决了命名冲突的问题,使用更加方便。每一个文件都是一个独立完备的命名空间。 Python 阅读全文
posted @ 2015-10-19 22:38 一杯半盏 阅读(179) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 27 下一页