# Machine Learning in Elixir: Some comments on chapter 13, Version B3.0

**URL:** <https://forum.devtalk.com/t/machine-learning-in-elixir-some-comments-on-chapter-13-version-b3-0/147395>\
**Category:** PragProg Customers\
**Tags:** book-machine-learning-in-elixir, errata\
**Created:** [14 March 2024 13:01 UTC](https://forum.devtalk.com/t/machine-learning-in-elixir-some-comments-on-chapter-13-version-b3-0/147395 "2024-03-14T13:01:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pieteeken](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/p/b9e5f3/32.png) [@pieteeken](https://forum.devtalk.com/u/pieteeken)\
**Post date:** [14 March 2024 13:01 UTC](https://forum.devtalk.com/t/machine-learning-in-elixir-some-comments-on-chapter-13-version-b3-0/147395/1 "2024-03-14T13:01:19Z")

</div>

## Comments on chapter 13, version B 3.0

@seanmor5

One advice: build the phoenix from scratch, do not use the version from the example code.  
If you use the wrong version of phoenix you get all kind of errors.  
I used 1.7.11.

@sabiwara found all errors, see his post.

There is only one little thing. /priv/repo/seeds.exs need a minor correction.  
author and title need to be switched

```elixir
path = "priv/repo/booksummaries/booksummaries.txt"
df = Explorer.DataFrame.from_csv!(path, delimiter: "\t", header: false)
df = df[["column_3", "column_4", "column_7"]]
df = Explorer.DataFrame.rename(df, ["title", "author", "description"])
df
|> Explorer.DataFrame.to_rows()
|> Enum.each(&BookSearch.Library.create_book/1)

```
