ageron / ageron/handson-ml2

Code np.inf uniformly

Open
#235 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
30k
Forks
13.1k
PR merge metrics
No merged PRs in 30d

Description

I see at least 3 ways in which infinity is expressed in different parts of the book's code:
```
np.infty
np.inf
float("inf")
```
As a style minor suggestion, consider to use only one, like `np.inf` (or even `math.inf`).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.