chapter 5
machine learning
Here are the code examples for Chapter 5.
supervised learning
- Example 5.5 simple linear regression.*
- Example 5.16 k-nn classifier for iris data.
- Example 5.19 SVM classifier for iris data.
- Example 5.20 SVM regression for lidar data.
- Example 5.21 neural network for squares data.
- Example 5.22 saving and reloading a previously learned model.
- Example 5.23 neural network for fraud detection.
- Example 5.25 naive Bayes classifier.
unsupervised learning
- Example 5.26 simple k-means clustering.
- Example 5.27 simple k-means clustering with tuning.
cross-validation and tuning
- Example 5.30 cross-validation with caret.
- Example 5.31 cross-validation for tuning of k-nn model.
- Example 5.32 tuning and cross-validation of SVM model.
- Example 5.33 further tuning of SVM model.
- Example 5.34 tuning neural networks for regression.
- Example 5.35 tuning neural networks for classification.