楼主: 耕耘使者
3981 2

[问答] bs="cs"是指什么?(What is the meaning of bs="cs" [推广有奖]

贵宾

已卖:5006份资源

学术权威

39%

还不是VIP/贵宾

-

威望
4
论坛币
1811021 个
通用积分
171.7911
学术水平
109 点
热心指数
173 点
信用等级
87 点
经验
93428 点
帖子
4549
精华
0
在线时间
2848 小时
注册时间
2006-4-6
最后登录
2025-7-12

楼主
耕耘使者 发表于 2012-1-23 11:30:40 |AI写论文
100论坛币
在ggplot2程序包中,qplot()函数中,使用smooth时,出现了bs="cs"这个参数,完整命令如下:
  qplot(carat,price,data=dsmall,geom=c("point","smooth"),method="gam",formula=y~s(x, bs = "cs"))
我查到了bs,是为多样式平滑生成B-Spline基础矩阵。但不知cs是什么意思

最佳答案

ltx5151 查看完整内容

cubic smoothing spline 自动通过B-spine生成相应的natural cubic spline basis functions,相当于做三次样条逼近这个设定后,函数根据data和knots的分布,自动选取smoothing penalty,使得函数足够smooth,防止overfit.
关键词:meaning ning mean What The 函数 meaning method price

沙发
ltx5151 发表于 2012-1-23 11:30:41
cubic smoothing spline

自动通过B-spine生成相应的natural cubic spline basis functions,相当于做三次样条逼近这个设定后,函数根据data和knots的分布,自动选取smoothing penalty,使得函数足够smooth,防止overfit.
已有 1 人评分学术水平 热心指数 收起 理由
耕耘使者 + 1 + 1 热心帮助其他会员

总评分: 学术水平 + 1  热心指数 + 1   查看全部评分

藤椅
耕耘使者 发表于 2012-1-23 22:15:35
多谢!

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-31 16:21