Errata

Tidy Modeling with R

Errata for Tidy Modeling with R

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page Page 25
7th paragraph

I am trying to follow the example of tidyverse program on pages 24-25.

I created an object for raw-train-data.csv as illustrated below

url <- "http//bit.ly/raw-train-data.csv"

However, when I tried to read the csv file into the object all_stations, I got the following error message.

> all_stations<- read_csv(url)
Error: 'http//bit.ly/raw-train-data.csv' does not exist in current working directory ('/Users/albertofcabrera/Documents/R-books/Tidy Modeling with R').

Please advise as to how to secure the raw-train-data-csv file.

Thanks

Alberto F Cabrera  Oct 25, 2022 
Printed Page 192
"3rd block of code (starting with: "mlp_param <- ")

The workflow in question in the code uses the model `mlp_spec` which had been defined as a multi-level perceptron on an earlier page (186), with tunable parameters 'hidden_units', 'penalty', and 'epochs'.

The text on pp. 191-2 talks about using PCA analysis without adding any code to create the PCA model. It uses the mlp from earlier. Consequently, the parameters do not contain one called 'num_comp', though the code attempts to set this, resulting in an error. [This is my understanding of why the error occurred, at least, though I am very new to tidy models, which is why I am reading the book!] If this is due to something I am doing wrong, I'd love to know. Thanks!!

Tom Dilling  Dec 31, 2023