Aurélien Geron
Aurélien Geron
Note that the code overlays two contour plots: one for the "hard" predictions (positive class or negative class), and another for the prediction scores (returned by the model's `decision_function()` method)....
Hi @deepakgowtham , Yes, you got it exactly right about the `contourf()` arguments. Regarding TF 2 compatibility, if you want to run TF 1 code, the simplest option is just...
Hi @Mehdi-Amine , Thanks for your questions. I double checked the exercise and its solution, and it looks fine to me, so let me explain. We want to train 1,000...
Thanks @jacob-ki for your questions, and special thanks to @AyEnEss for all the great and helpful answers. 👍 @jacob-ki , I see that you are creating your own Jupyter notebooks....
Hi @Taylor-Tian , Thanks for your question. Sorry for the delay, I just got back from vacation. In TF 1.x a session can only execute one graph. All the operations...
Hi @gravityrail , Thanks for your interesting feedback. Indeed, xgboost should probably have a clearer error message, such as "Could not find wchar.h. Make sure you have the latest XCode...
Hi Fritz, Thanks for your question! There are several possible causes for randomness in Machine Learning programs. The first is simply that many algorithms rely on stochasticity. For example, `RandomForestRegressor`...
Hi @Samrat666 , Thanks for your question. The `where()` method can be confusing. It takes a condition as the first argument, and wherever it is `True`, then the result keeps...
Hi @Samrat666 , When you call `apply()` on a Pandas `Series` object, you must pass it a function with a single argument, and Pandas will call this function for each...
Hi @Samrat666 , Actually the `for` loop only runs once since `n_splits=1`. It we set `n_splits=2` or more, then indeed the `strat_train_set` and `strat_test_set` variables would keep getting overwritten. Perhaps...