摘要: 简介Python(英语发音:/ˈpaɪθən/), 是一种面向对象、解释型计算机程序设计语言,由Guido van Rossum于1989年底发明,第一个公开发行版发行于1991年,Python 源代码同样遵循 GPL(GNU General Public License)协议[1] 。Python... 阅读全文
posted @ 2015-04-21 14:20 机器学习算法与Python 阅读(480) 评论(0) 推荐(0)
摘要: A Diversion on Binding Values to SymbolWhen R tries to bind a value to a symbol,it searches through a series of environments to find the appropriate v... 阅读全文
posted @ 2015-04-21 14:19 机器学习算法与Python 阅读(705) 评论(0) 推荐(0)
摘要: 7.2 频数表和列联表> library(vcd)> head(Arthritis)ID Treatment Sex Age Improved1 57 Treated Male 27 Some2 46 Treated Male 29 None3 77 Treated Male 30 None4 17... 阅读全文
posted @ 2015-04-20 22:26 机器学习算法与Python 阅读(3894) 评论(0) 推荐(1)
摘要: 7.1描述性统计分析> vars head(mtcars[vars]) mpg hp wtMazda RX4 21.0 110 2.620Mazda RX4 Wag 21.0 110 2.875Datsun 710 22.8 93 2.320Hornet 4 Drive 21.4 110 3.215... 阅读全文
posted @ 2015-04-19 22:48 机器学习算法与Python 阅读(1586) 评论(0) 推荐(1)
摘要: Control StructuresControl structures in R allow you to control the flow of execution of the program, depending onruntime conditions. Common structures... 阅读全文
posted @ 2015-04-19 17:22 机器学习算法与Python 阅读(521) 评论(0) 推荐(0)
摘要: 6.3直方图 hist()其中的x是一个由数据值组成的数值向量。参数freq=FALSE表示根据概率密度而不是频数绘制图形。参数breaks用于控制组的数量。在定义直方图中的单元时,默认将生成等距切分。par(mfrow=c(2,2))hist(mtcars$mpg)#简单直方图hist(mtcar... 阅读全文
posted @ 2015-04-18 16:10 机器学习算法与Python 阅读(1851) 评论(0) 推荐(0)
摘要: SubsettingThere are a number of operators that can be used to extract subsets of R objects.[ always returns an object of the same class as the origina... 阅读全文
posted @ 2015-04-17 11:11 机器学习算法与Python 阅读(374) 评论(0) 推荐(0)
摘要: Reading DataThere are a few principal functions reading data into R.read.table, read.csv, for reading tabular datareadLines, for reading lines of a te... 阅读全文
posted @ 2015-04-16 21:56 机器学习算法与Python 阅读(489) 评论(0) 推荐(0)
摘要: 第六章 基本图形6.1条形图条形图通过垂直的或水平的条形展示了类别型变量的分布(频数)。函数:barplot(height)6.1.1简单的条形图6.1.2推砌条形图和分组条形图如果height是一个矩阵而不是一个向量,则绘图结果将是一幅堆砌条形图或分组条形图。若beside=FALSE(默认值),... 阅读全文
posted @ 2015-04-16 21:19 机器学习算法与Python 阅读(730) 评论(0) 推荐(0)
摘要: ObjectsR has five basic or “atomic” classes of objects: character numeric (real numbers) integer complex logical (True/False)The most basic object is ... 阅读全文
posted @ 2015-04-15 22:07 机器学习算法与Python 阅读(675) 评论(0) 推荐(0)