Shreya Bose

Shreya Bose

Could Not build Wheels for Numpy(Solved)

Could Not build Wheels for Numpy(Solved)

Pip’s `error: failed-wheel-build-for-install` summary can appear without explaining what went wrong. I wanted to separate the failed stage from the cause behind it. Read the build output for the package name. You can compare it with the earlier error to…

Numpy linalg.norm - Matrix or vector norm

Numpy linalg.norm – Matrix or vector norm

A matrix of feature rows can produce one output from `np.linalg.norm(matrix)`, even when the next step needs a length for each row. I was curious that `axis=1` can preserve that row-by-row view without changing the matrix. A norm reports size…