Hands-On Ensemble Learning with R 🔍
Prabhanjan Narayanachar Tattar
PDF · 7.7MB · 📗 未知类型的图书 · 🚀/upload · Save
描述
Cover 1
Copyright 3
Contributors 6
Table of Contents 8
Preface 14
Chapter 1: Introduction to Ensemble Techniques 20
Datasets 23
Hypothyroid 24
Waveform 25
German Credit 26
Iris 27
Pima Indians Diabetes 27
US Crime 28
Overseas visitors 29
Primary Biliary Cirrhosis 31
Multishapes 31
Board Stiffness 33
Statistical/machine learning models 33
Logistic regression model 34
Logistic regression for hypothyroid classification 35
Neural networks 36
Neural network for hypothyroid classification 38
Naïve Bayes classifier 39
Naïve Bayes for hypothyroid classification 39
Decision tree 39
Decision tree for hypothyroid classification 40
Support vector machines 41
SVM for hypothyroid classification 42
The right model dilemma! 42
An ensemble purview 45
Complementary statistical tests 49
Permutation test 49
Chi-square and McNemar test 51
ROC test 53
Summary 54
Chapter 2: Bootstrapping 56
Technical requirements 57
The jackknife technique 57
The jackknife method for mean and variance 58
Pseudovalues method for survival data 61
Bootstrap – a statistical method 64
The standard error of correlation coefficient 66
The parametric bootstrap 71
Eigen values 74
Rule of thumb 78
The boot package 78
Bootstrap and testing hypotheses 81
Bootstrapping regression models 83
Bootstrapping survival models* 86
Bootstrapping time series models* 88
Summary 89
Chapter 3: Bagging 90
Technical requirements 90
Classification trees and pruning 91
Bagging 95
k-NN classifier 105
Analyzing waveform data 106
k-NN bagging 107
Summary 110
Chapter 4: Random Forests 112
Technical requirements 113
Random Forests 113
Variable importance 119
Proximity plots 124
Random Forest nuances 126
Comparisons with bagging 132
Missing data imputation 134
Clustering with Random Forest 137
Summary 138
Chapter 5: The Bare Bones
Boosting Algorithms 140
Technical requirements 141
The general boosting algorithm 142
Adaptive boosting 143
Gradient boosting 153
Building it from scratch 154
Squared-error loss function 159
Using the adabag and gbm packages 161
Variable importance 164
Comparing bagging, random forests,
and boosting 164
Summary 166
Chapter 6: Boosting Refinements 168
Technical requirements 168
Why does boosting work? 169
The gbm package 173
Boosting for count data 176
Boosting for survival data 181
The xgboost package 182
The h2o package 188
Summary 190
Chapter 7: The General Ensemble Technique 192
Technical requirements 193
Why does ensembling work? 193
Ensembling by voting 204
Majority voting 205
Weighted voting 206
Ensembling by averaging 209
Simple averaging 211
Weight averaging 213
Stack ensembling 214
Summary 216
Chapter 8: Ensemble Diagnostics 218
Technical requirements 218
What is ensemble diagnostics? 219
Ensemble diversity 221
Numeric prediction 221
Class prediction 223
Pairwise measure 229
Disagreement measure 230
Yule's or Q-statistic 231
Correlation coefficient measure 232
Cohen's statistic 233
Double-fault measure 235
Interrating agreement 236
Entropy measure 236
Kohavi-Wolpert measure 237
Disagreement measure for ensemble 239
Measurement of interrater agreement 240
Summary 241
Chapter 9: Ensembling Regression Models 242
Technical requirements 243
Pre-processing the housing data 243
Visualization and variable reduction 250
Variable clustering 257
Regression models 261
Linear regression model 261
Neural networks 272
Regression tree 274
Prediction for regression models 276
Bagging and Random Forests 278
Boosting regression models 282
Stacking methods for regression models 284
Summary 286
Chapter 10: Ensembling Survival Models 288
Core concepts of survival analysis 289
Nonparametric inference 297
Regression models – parametric and Cox proportional hazards models 303
Survival tree 311
Ensemble survival models 314
Summary 317
Chapter 11: Ensembling Time
Series Models 318
Technical requirements 319
Time series datasets 319
AirPassengers 320
co2 321
uspop 321
gas 321
Car Sales 321
austres 321
WWWusage 321
Time series visualization 322
Core concepts and metrics 329
Essential time series models 337
Naïve forecasting 337
Seasonal, trend, and loess fitting 338
Exponential smoothing state space model 341
Auto-regressive Integrated Moving Average (ARIMA) models 343
Auto-regressive neural networks 346
Messing it all up 347
Bagging and time series 349
Ensemble time series models 351
Summary 352
Chapter 12: What's Next? 354
Bibliography 358
References 358
R package references 362
Other Books You May Enjoy 368
Index 372
Copyright 3
Contributors 6
Table of Contents 8
Preface 14
Chapter 1: Introduction to Ensemble Techniques 20
Datasets 23
Hypothyroid 24
Waveform 25
German Credit 26
Iris 27
Pima Indians Diabetes 27
US Crime 28
Overseas visitors 29
Primary Biliary Cirrhosis 31
Multishapes 31
Board Stiffness 33
Statistical/machine learning models 33
Logistic regression model 34
Logistic regression for hypothyroid classification 35
Neural networks 36
Neural network for hypothyroid classification 38
Naïve Bayes classifier 39
Naïve Bayes for hypothyroid classification 39
Decision tree 39
Decision tree for hypothyroid classification 40
Support vector machines 41
SVM for hypothyroid classification 42
The right model dilemma! 42
An ensemble purview 45
Complementary statistical tests 49
Permutation test 49
Chi-square and McNemar test 51
ROC test 53
Summary 54
Chapter 2: Bootstrapping 56
Technical requirements 57
The jackknife technique 57
The jackknife method for mean and variance 58
Pseudovalues method for survival data 61
Bootstrap – a statistical method 64
The standard error of correlation coefficient 66
The parametric bootstrap 71
Eigen values 74
Rule of thumb 78
The boot package 78
Bootstrap and testing hypotheses 81
Bootstrapping regression models 83
Bootstrapping survival models* 86
Bootstrapping time series models* 88
Summary 89
Chapter 3: Bagging 90
Technical requirements 90
Classification trees and pruning 91
Bagging 95
k-NN classifier 105
Analyzing waveform data 106
k-NN bagging 107
Summary 110
Chapter 4: Random Forests 112
Technical requirements 113
Random Forests 113
Variable importance 119
Proximity plots 124
Random Forest nuances 126
Comparisons with bagging 132
Missing data imputation 134
Clustering with Random Forest 137
Summary 138
Chapter 5: The Bare Bones
Boosting Algorithms 140
Technical requirements 141
The general boosting algorithm 142
Adaptive boosting 143
Gradient boosting 153
Building it from scratch 154
Squared-error loss function 159
Using the adabag and gbm packages 161
Variable importance 164
Comparing bagging, random forests,
and boosting 164
Summary 166
Chapter 6: Boosting Refinements 168
Technical requirements 168
Why does boosting work? 169
The gbm package 173
Boosting for count data 176
Boosting for survival data 181
The xgboost package 182
The h2o package 188
Summary 190
Chapter 7: The General Ensemble Technique 192
Technical requirements 193
Why does ensembling work? 193
Ensembling by voting 204
Majority voting 205
Weighted voting 206
Ensembling by averaging 209
Simple averaging 211
Weight averaging 213
Stack ensembling 214
Summary 216
Chapter 8: Ensemble Diagnostics 218
Technical requirements 218
What is ensemble diagnostics? 219
Ensemble diversity 221
Numeric prediction 221
Class prediction 223
Pairwise measure 229
Disagreement measure 230
Yule's or Q-statistic 231
Correlation coefficient measure 232
Cohen's statistic 233
Double-fault measure 235
Interrating agreement 236
Entropy measure 236
Kohavi-Wolpert measure 237
Disagreement measure for ensemble 239
Measurement of interrater agreement 240
Summary 241
Chapter 9: Ensembling Regression Models 242
Technical requirements 243
Pre-processing the housing data 243
Visualization and variable reduction 250
Variable clustering 257
Regression models 261
Linear regression model 261
Neural networks 272
Regression tree 274
Prediction for regression models 276
Bagging and Random Forests 278
Boosting regression models 282
Stacking methods for regression models 284
Summary 286
Chapter 10: Ensembling Survival Models 288
Core concepts of survival analysis 289
Nonparametric inference 297
Regression models – parametric and Cox proportional hazards models 303
Survival tree 311
Ensemble survival models 314
Summary 317
Chapter 11: Ensembling Time
Series Models 318
Technical requirements 319
Time series datasets 319
AirPassengers 320
co2 321
uspop 321
gas 321
Car Sales 321
austres 321
WWWusage 321
Time series visualization 322
Core concepts and metrics 329
Essential time series models 337
Naïve forecasting 337
Seasonal, trend, and loess fitting 338
Exponential smoothing state space model 341
Auto-regressive Integrated Moving Average (ARIMA) models 343
Auto-regressive neural networks 346
Messing it all up 347
Bagging and time series 349
Ensemble time series models 351
Summary 352
Chapter 12: What's Next? 354
Bibliography 358
References 358
R package references 362
Other Books You May Enjoy 368
Index 372
备选作者
Adobe InDesign CS6 (Windows)
元数据中的注释
producers:
Adobe PDF Library 10.0.1
Adobe PDF Library 10.0.1
开源日期
2024-12-23
🚀 快速下载
成为会员以支持书籍、论文等的长期保存。为了感谢您对我们的支持,您将获得高速下载权益。❤️
🐢 低速下载
由可信的合作方提供。 更多信息请参见常见问题解答。 (可能需要验证浏览器——无限次下载!)
- 低速服务器(合作方提供) #1 (稍快但需要排队)
- 低速服务器(合作方提供) #2 (稍快但需要排队)
- 低速服务器(合作方提供) #3 (稍快但需要排队)
- 低速服务器(合作方提供) #4 (稍快但需要排队)
- 低速服务器(合作方提供) #5 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #6 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #7 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #8 (无需排队,但可能非常慢)
- 下载后: 在我们的查看器中打开
所有选项下载的文件都相同,应该可以安全使用。即使这样,从互联网下载文件时始终要小心。例如,确保您的设备更新及时。
外部下载
-
对于大文件,我们建议使用下载管理器以防止中断。
推荐的下载管理器:Motrix -
您将需要一个电子书或 PDF 阅读器来打开文件,具体取决于文件格式。
推荐的电子书阅读器:Anna的档案在线查看器、ReadEra和Calibre -
使用在线工具进行格式转换。
推荐的转换工具:CloudConvert和PrintFriendly -
您可以将 PDF 和 EPUB 文件发送到您的 Kindle 或 Kobo 电子阅读器。
推荐的工具:亚马逊的“发送到 Kindle”和djazz 的“发送到 Kobo/Kindle” -
支持作者和图书馆
✍️ 如果您喜欢这个并且能够负担得起,请考虑购买原版,或直接支持作者。
📚 如果您当地的图书馆有这本书,请考虑在那里免费借阅。
下面的文字仅以英文继续。
总下载量:
“文件的MD5”是根据文件内容计算出的哈希值,并且基于该内容具有相当的唯一性。我们这里索引的所有影子图书馆都主要使用MD5来标识文件。
一个文件可能会出现在多个影子图书馆中。有关我们编译的各种数据集的信息,请参见数据集页面。
有关此文件的详细信息,请查看其JSON 文件。 Live/debug JSON version. Live/debug page.