Aurélien Geron

Results 284 comments of Aurélien Geron

Hi Nishant, Thanks for your question. First, on Windows, I strongly recommend you install [Anaconda](https://www.anaconda.com/distribution/), Python 3.7 version. TensorFlow does not work with Python 3.8 yet, and installation is much...

Hi @Nishant90ML , As @GoldenRaven answered, the error message says that the variable `housing_prepared` is not defined. This probably means that you did not run the cell that defines it,...

Hi @1sunkesulalalbasha12 , The `housing_labels` object is a Pandas `Series` object. It cannot be called like a function. Just remove the line `housing_labels ()`, or remove the parentheses: `housing_labels`.

Hi @paliwalvarad , Sure. The CRC-32 algorithm takes the identifier and converts it to a (somewhat) pseudo-random 32-bit number. In other words, we're using the `crc32()` function as a hash...

Hi @seonpy , Thanks for your question. Your constructors are called `_init_()`, but they should be named `__init__()` (with 2 underscores before and 2 underscores after `init`). Since the name...

Hi @seonpy, Could you please copy the full exception stacktrace so I can see where exactly the error comes from? Also, could you please tell me which version of Pandas,...

Hi @seonpy , Sorry, I'm traveling this week. Could you please downgrade Scikit-Learn to 0.20.3 and try again? If this does not fix the problem, I recommend you check out...

Perhaps check out chapter 2 in the Early Release of the second edition of my book at https://homl.info/er2 : it requires a Safari subscription, but they have a free trial...

Hi @luluqinqin , Thanks for your kind words! 😊 And sorry for the late reply... You are right that you must always call `fit()` on a transformer before you can...

Hi @Jeffresh , Thanks for this great suggestion. I wanted to show an example of how to use the [splitter classes](https://scikit-learn.org/stable/modules/classes.html#splitter-classes), but I think I should point out that there's...