haydenliu / Python-Machine-Learning-By-Example-Second-Edition

This is the code repository for my book Python Machine Learning By Example Second Edition (published by Packt, March 2019)
MIT License
12 stars 3 forks source link

Chapter 2 with mistakes: Building a movie recommender with Naïve Bayes #1

Open orlandombaa opened 1 year ago

orlandombaa commented 1 year ago

Hi @haydenliu

Hi Dr. Yuxi

This is Orlando. One of your readers. First I want to thank you for be part of the redaction of the book Python Machine Learning By examples Built intelligence systems using Python, Tensor flow 2, PyTorch and sickit learn.

I just started the reading and it looks a very practical literature. However, I have had some problems running some of the scripts of  the example of movie recommender in chapter 2.  It seems like the data available in the report changed. I got an error related to the type of variable it seems the the problem is from the type of the variable of rating score.

Can you help us to update the data or modify the script?

 Best regards, Orlando

haydenliu commented 1 year ago

Hey Orlando,

Thanks for finding the book helpful. The latest edition is in https://github.com/PacktPublishing/Python-Machine-Learning-By-Example-Third-Edition

Hope it helps.

orlandombaa commented 1 year ago

Hi @haydenliu

Yes that´s the verstion that I have. The problem seems from the data available in the repo

orlandombaa commented 1 year ago

Once that I tun the function for unpack the .dat file I got the following error:

Captura de Pantalla 2022-11-30 a la(s) 11 33 48 p m
haydenliu commented 1 year ago

https://stackoverflow.com/questions/1841565/valueerror-invalid-literal-for-int-with-base-10

On Wed, Nov 30, 2022 at 9:34 PM Orlando B. @.***> wrote:

Once that I tun the function for unpack the .dat format I got the following error:

[image: Captura de Pantalla 2022-11-30 a la(s) 11 33 48 p m] https://user-images.githubusercontent.com/48104481/204973842-b0045ae2-3571-4a94-a78d-a8acef56b90a.png

— Reply to this email directly, view it on GitHub https://github.com/haydenliu/Python-Machine-Learning-By-Example-Second-Edition/issues/1#issuecomment-1333220701, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJ7NVLBEKYPKGI7LEFT4ILWLA2HTANCNFSM6AAAAAASQMGYOU . You are receiving this because you were mentioned.Message ID: <haydenliu/Python-Machine-Learning-By-Example-Second-Edition/issues/1/1333220701 @github.com>