当前位置:网站首页>Machine learning notes - Introduction to R language learning series I
Machine learning notes - Introduction to R language learning series I
2022-06-09 09:55:00 【Sit and watch the clouds rise】
One 、R Overview and installation
R It is a free software environment for statistical calculation and graphics . It can be in all kinds of UNIX platform 、Windows and MacOS Compile and run on .
Official download address :
CRAN - Mirrors
https://cran.r-project.org/mirrors.html windows Just download and install the version .
The interface after installation is as follows

Use R, You can write functions 、 Calculate 、 Apply most available statistical techniques 、 Create simple or complex graphics , Even write your own library functions .
R The programming used in is similar in different ways . therefore , Once you learn to apply linear regression , Modify the code to perform generalized linear modeling or generalized additive modeling , Just change a few options or make small changes to the formula . Besides ,Rhas Excellent statistical facilities . Almost everything you might need in statistics has been programmed and is now R Available in the ( As part of the main package or as a user contribution package ).
Two 、 Preliminary use
1、2+2
We input... At the console 2+2, And then go back , You'll get 4, Is not surprising .

2、log(2)
We input... At the console log(2), And then go back , obtain 0.6931472.

3、log10(2)
We input... At the console log10(2), And then go back , obtain 0.30103.

3、 ... and 、 Drawing function
R Excellent drawing tools . But the same , You need to enter code or copy it from a previous project to implement .
setwd("D:\\57R")
ISIT<-read.table("D:\\57R\\RBook\\ISIT.txt",header=TRUE)
library(lattice)
xyplot(Sources~SampleDepth|factor(Station),data=ISIT,
xlab="Sample Depth",ylab="Sources",
strip=function(bg='white', ...)
strip.default(bg='white', ...),
panel = function(x, y) {
panel.grid(h=-1, v= 2)
I1<-order(x)
llines(x[I1], y[I1],col=1)})among ISIT.txt The contents are as follows , Baidu online disk download address
link :https://pan.baidu.com/s/18QwZb91hcmRR3UOGL48R9Q
Extraction code :dpso
The icon is shown below

边栏推荐
- Learn about graph database neo4j (I)
- 【推荐系统】基于用户的协同过滤
- MSF基于SNMP协议的信息收集
- Kusionstack has a sense of open source | it took two years to break the dilemma of "separating lines like mountains"
- 【新手上路常见问答】非IT企业如何做互联网产品
- MSF实战——MySQL空密码的危害
- [technology, business and management] drama learning and Entrepreneurship: Silicon Valley season 5 Episode 1-3
- MSF information collection based on FTP protocol
- Linear independence, orthogonal basis and orthogonal matrix
- LeetCode_回溯_困难_301. 删除无效的括号
猜你喜欢

Understand the graph database neo4j (II)

Openstack explanation (17) -- other configurations of openstack Nova
![[linear algebra] understand positive definite matrix and semi positive definite matrix](/img/e0/fa9378a7d136f7d9a62ea3934e496d.png)
[linear algebra] understand positive definite matrix and semi positive definite matrix

openstack详解(十八)——Nova服务启动与服务创建

The role of graphic edge detection in digital image processing in image understanding

循环神经网络理论——【torch学习笔记】

MSF基于SSH协议的信息收集

MSF基于SNMP协议的信息收集

数据科学的道德与法规知识
![[technology, business and management] drama learning and Entrepreneurship: Silicon Valley season 5 Episode 1-3](/img/b4/abafefd08dce0ebfdcd772686495e9.png)
[technology, business and management] drama learning and Entrepreneurship: Silicon Valley season 5 Episode 1-3
随机推荐
中位数图(前缀和)
Array. Map() shorthand function
NIO BIO AIO
Openstack explanation (13) -- Grace keystone setup and startup
【推荐系统】基于用户的协同过滤
MSF tips
WebService service call
Omit application reduces TS duplicate codes
Openstack explanation (XV) -- basic principle of openstack Nova node
- Bean method ‘redisConnectionFactory‘ in ‘JedisConnectionConfiguration‘ not loaded because @Conditi
openstack详解(二十)——Neutron节点原理
Understand the graph database neo4j (III)
最长公共子序列和最长公共子串
【线性代数】线性无关与正交基和正交矩阵
openstack详解(十七)——openstack Nova其他配置
视觉SLAM总结——SuperPoint / SuperGlue
ERP system, compilation and learning
Array.map()简写函数
【图机器学习】图神经网络入门(一)谱图理论
pyqt5 pyside2