ML-foundations icon indicating copy to clipboard operation
ML-foundations copied to clipboard

added along rows and columns in X.sum() for better understanding

Open toheedakhtar opened this issue 1 year ago • 2 comments

In Reduction - added "along rows" in X.sum(axis=1) and "along columns" in X.sum(axis = 0) , for better understanding and solving confusion.

toheedakhtar avatar Jan 13 '24 09:01 toheedakhtar

added for better understanding in nparray.sum() axis = 0 means along the column and axis = 1 means working along the row. stackoverflow

toheedakhtar avatar Jan 13 '24 09:01 toheedakhtar

Just a heads up, you can review notebook changes like this using GitNotebooks.

e.g. this pull request https://gitnotebooks.com/jonkrohn/ML-foundations/pull/10

It's free for public repos, so might be helpful for y'all.

smith-kyle avatar Jan 31 '24 02:01 smith-kyle