Skip to content

Led "w" to a "nan" when change "stop" param of "trX" in 01_linear_regression #67

@huang-xu

Description

@huang-xu

In 01_linear_regression.ipyn, when change the "stop" parameter of np.linspace in line trX = np.linspace(-1, 1, 101) to a larger number like 20 (i.e. trX = np.linspace(-1, 20, 101)), then the learned weight w will be nan.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions