单变量线性回归 发表于 2016-12-06 单变量线性回归Linner Regression with One Variable 单变量线性回归用于预测单个输入变量x与他的输出y的一种对应方式。 模型表示 上图展示了一个单变量线性回归模型的构造思路。 首先,图上的红x为每个输入的数据set,根据数据的分布方式,大概可以用一条线(图上红色的直线 ... 阅读全文 »
html5andcss3base/18 发表于 2016-12-04 | 分类于 html5andcss3base js事件 事件 描述 onblur 离开焦点 onchange 元素改变 onclick 点击 ondblclick 双击 onfocus 焦点移动到特定元素 onkeydown 在指定元素上按键 onkeypress 按下并松开 onkeyup 松开 o ... 阅读全文 »
html5andcss3base/17 发表于 2016-12-04 | 分类于 html5andcss3base 视频、音频和其他媒体<video><audio> 属性: 属性 描述 src 源 autoplay 自动播放 controls 控件 muted 静音 loop 循环 poster 海报(url地址) width 宽 height 高 ... 阅读全文 »
html5andcss3base/16 发表于 2016-12-04 | 分类于 html5andcss3base 表单输入和元素 输入或者元素 type值 电子邮件 email 搜索框 search 电话框 tel url框 url 日期 date 数字 number 范围 range 数据列表 <input type='text' name= ... 阅读全文 »
html5andcss3base/15 发表于 2016-12-04 | 分类于 html5andcss3base 列表有序列表 ol,li 无序列表 ul,li 描述列表 dl,dt,dd 列表ol属性: start type reversed li属性: value csslist-style-type:标记类型 disc 圆点 (默认) circle 圆圈 square 方块 decimal 数字 ... 阅读全文 »
html5andcss3base/14 发表于 2016-12-04 | 分类于 html5andcss3base 使用css进行增强[TOC] 渐进增强 网站逐步的使用新的css声明,在新旧浏览器上有着不同的表现,但是都能完成基本的功能。 polyfill 让旧浏览器兼容新css的一种解决办法 厂商前缀 -webkit; -moz; -ms; -o; 创建圆角1234div{ -webkit-bo ... 阅读全文 »
html5andcss3base/13 发表于 2016-12-04 | 分类于 html5andcss3base 使用web字体1234567891011121314body{ font-family: 'PTSans', sans-serif; font-size: 100%; line-height:1.25;}@font-face { font-family:'PTS ... 阅读全文 »