# Errata for Machine Learning by Tutorials, 2nd Edition

**URL:** <https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650>\
**Category:** Machine Learning by Tutorials\
**Created:** [October 2, 2019, 6:59pm UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650 "2019-10-02T18:59:08Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisrazeware](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/chrisrazeware/32/107900_2.png) [@chrisrazeware](https://forums.kodeco.com/u/chrisrazeware)\
**Post date:** [October 2, 2019, 6:59pm UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/1 "2019-10-02T18:59:08Z")

</div>

Found an issue in Machine Learning by Tutorials, 2nd edition? Post it here!

---

<div class="post-metadata">

**Author:** ![chrisrazeware](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/chrisrazeware/32/107900_2.png) [@chrisrazeware](https://forums.kodeco.com/u/chrisrazeware)\
**Post date:** [October 2, 2019, 6:59pm UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/2 "2019-10-02T18:59:15Z")

</div>



---

<div class="post-metadata">

**Author:** ![catzshadowy](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/catzshadowy/32/105896_2.png) [@catzshadowy](https://forums.kodeco.com/u/catzshadowy)\
**Post date:** [October 3, 2019, 9:44am UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/3 "2019-10-03T09:44:43Z")

</div>

Not an issue really I just bought it 🙂  
And find it uses the latest software, which I haven’t got the Swift 5.1 and Catalina and Xcode 11 …  
Guess I’ll read the book for now and await the update from Apple for the general public edition of the software.

I think I gave much to learn 🙂

---

<div class="post-metadata">

**Author:** ![hollance](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hollance/32/109009_2.png) [@hollance](https://forums.kodeco.com/u/hollance)\
**Post date:** [October 3, 2019, 7:04pm UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/4 "2019-10-03T19:04:02Z")

</div>

> [@catzshadowy](#):
>
> which I haven’t got the Swift 5.1 and Catalina and Xcode 11

You can still use most of the book with Swift 5, Xcode 10, and Mojave.

---

<div class="post-metadata">

**Author:** ![catzshadowy](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/catzshadowy/32/105896_2.png) [@catzshadowy](https://forums.kodeco.com/u/catzshadowy)\
**Post date:** [October 4, 2019, 6:43am UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/5 "2019-10-04T06:43:51Z")

</div>

Well I jumped into Section III, chapter 14 and immediately got an error in the Xcode ☹  
I suppose I ought to start at the beginning ?  
Yes I have much to learn ! 🙂

---

<div class="post-metadata">

**Author:** ![clapollo](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/clapollo/32/81809_2.png) [@clapollo](https://forums.kodeco.com/u/clapollo)\
**Post date:** [October 4, 2019, 7:11am UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/6 "2019-10-04T07:11:45Z")

</div>

This is an Early Access update. None of the chapters in Sections II or III have been updated yet because there were too many problems in those sections with the early betas and then schedules forced us to delay working on those.

So to go through the current version of those sections, you may need to use Xcode 10, iOS 12, Mojave, or some combination of those.

---

<div class="post-metadata">

**Author:** ![catzshadowy](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/catzshadowy/32/105896_2.png) [@catzshadowy](https://forums.kodeco.com/u/catzshadowy)\
**Post date:** [October 5, 2019, 3:27am UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/7 "2019-10-05T03:27:59Z")

</div>

Awww, Hummm - I see !  
I’ve looked into the matter and I have Xcode 11.0(11A420a) and Mojave 10.14.6 now which I believe are the latest updates for general distribution. Don’t know if iOS is 12, or 13 for Xcode? I have a new 11 Pro Max iPhone which is 13 !  
Afraid I don’t know how to setup two MacOS’s on my iMac or multiple Xcode’s 🤷‍♀️  
I will content myself with reading the book for now ! 😌  
I assume it gives a description of what is happening as well as the code examples !?  
Thanks you for replying to my posts

---

<div class="post-metadata">

**Author:** ![catzshadowy](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/catzshadowy/32/105896_2.png) [@catzshadowy](https://forums.kodeco.com/u/catzshadowy)\
**Post date:** [October 5, 2019, 6:33am UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/8 "2019-10-05T06:33:52Z")

</div>

Hummm ! Got a puzzle !???  
I downloaded the book fine on epub and it showed in my Books app directory and I have been reading it on my iMac !  
?? I just tried to read it on my iPhone and can’t find it ??  
What is going on ?? Thought you guys said “handy if you want a soft copy to take with you”. Digital book editions section in Machine Learning  
IDK 🤷‍♀️  
Sorry to be a bother ! 🙄

---

<div class="post-metadata">

**Author:** ![catzshadowy](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/catzshadowy/32/105896_2.png) [@catzshadowy](https://forums.kodeco.com/u/catzshadowy)\
**Post date:** [October 5, 2019, 6:56am UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/9 "2019-10-05T06:56:44Z")

</div>

Another puzzle maybe ? I’ve been exploring …  
Instead of being in a section it is in the Uncategorized section of my iMac Books window ?  
? shouldn’t it be in the Computer section ?

Well IDK ? I’d like to be able to read it on my iPhone too !

---

<div class="post-metadata">

**Author:** ![catzshadowy](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/catzshadowy/32/105896_2.png) [@catzshadowy](https://forums.kodeco.com/u/catzshadowy)\
**Post date:** [October 7, 2019, 7:30am UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/10 "2019-10-07T07:30:08Z")

</div>

Woo Hoo ! Machine Learning by Tutorial, 2nd Edition has showed up on my iPhone !  
Guess it takes a couple of days to work it’s way through the iCloud Drive ?  
Photos do it almost immediately !  
Sorry for the false alarm ☹ Live n learn !!

---

<div class="post-metadata">

**Author:** ![luois8753](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/luois8753/32/110937_2.png) [@luois8753](https://forums.kodeco.com/u/luois8753)\
**Post date:** [October 20, 2019, 11:49am UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/11 "2019-10-20T11:49:10Z")

</div>

Hi there,

In page 477 chapter 14, Xcode complains unresolved identifier ‘MLModel’. Could you please correct the error? Cheers

---

<div class="post-metadata">

**Author:** ![clapollo](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/clapollo/32/81809_2.png) [@clapollo](https://forums.kodeco.com/u/clapollo)\
**Post date:** [October 20, 2019, 7:54pm UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/12 "2019-10-20T19:54:18Z")

</div>

@luois8753 This is an early access version of the 2nd edition — the last 6 chapters of the book have not been updated yet for Xcode 11 or iOS 13. They should have been marked in some way to indicate that, either in the book or in the store. You may run into many errors like this if you’re working through those chapters with the latest software. Sorry for the mix up!

---

<div class="post-metadata">

**Author:** ![luois8753](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/luois8753/32/110937_2.png) [@luois8753](https://forums.kodeco.com/u/luois8753)\
**Post date:** [October 22, 2019, 5:32am UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/13 "2019-10-22T05:32:22Z")

</div>

Hi clapollo,

Thanks for your reply.

One more question, in the paragraph of sentiment analysis in page 463, it’s said “… identifying document topics are all variations of the sentiment analysis.” Would you please help me understand how I can use the model to identify document topics? Will it be included in the future release of the book?

Thanks so much

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [November 14, 2019, 9:02pm UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/14 "2019-11-14T21:02:50Z")

</div>

@clapollo Can you please help with this when you get a chance? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![clapollo](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/clapollo/32/81809_2.png) [@clapollo](https://forums.kodeco.com/u/clapollo)\
**Post date:** [November 19, 2019, 4:44pm UTC](https://forums.kodeco.com/t/errata-for-machine-learning-by-tutorials-2nd-edition/83650/15 "2019-11-19T16:44:34Z")

</div>

Hi @luois8753, sorry for the delayed reply. There are multiple different algorithms that can identify document topics. The simplest thing to try after going through these chapters would be to treat it just like sentiment analysis, but rather than using positive and negative as classes, you would define classes like sports, politics, music, etc and train your model to classify text into those categories. You would just need a dataset with documents labeled by their primary topic.

After that, you should search the internet for terms like “topic modeling” and “document classification” to read about other techniques, some of which can identify multiple topics within a piece of text.

I’ve been overly busy with other work and the updates for these chapters are being handled by someone else, so I’m not sure if document classification or topic modeling will be covered in more detail.
