R code to accompany Real-World Machine Learning (Chapter 3)

Abstract The rwml-R Github repo is updated with R code to accompany Chapter 3 of the book “Real-World Machine Learning” by Henrik Brink, Joseph W. Richards, and Mark Fetherolf. Survivors on the Titanic The Titanic Passengers dataset is used to illustrate various processes usedto prepare data for modeling, includingconversion of factor variables to dummy variables. For example, the codeto produce thefollowing table of processed data is provided: Survived.yes Pclass Sex.male Age SibSp Parch Embarked.Q Embarked.S sqrtFare 0 3 1 22 1 0 0 1 2.692582 1 1 0 38 1 0 0 0 8.442944 1 3 0 26 0 0 0 1 2.815138 1 1 0 35 1 0 0 1 7.286975 0 3 1 35 0 0 0 1 2.837252 0 3 1 -1 0 0 1 0 2.908316…


Link to Full Article: R code to accompany Real-World Machine Learning (Chapter 3)