[{"data":1,"prerenderedAt":359},["ShallowReactive",2],{"project-45384617":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":34,"aspects":35,"strip":42,"post_text":44,"what":45,"said":102,"maker_in_thread":214,"shape":221,"grid":225,"attempts":322,"same_week":323,"maker_shows":43,"maker_hidden":352,"reader_version":353,"card":354},"45384617","linear algebra","A little notebook for learning linear algebra with Python","title","Show HN: A little notebook for learning linear algebra with Python","https:\u002F\u002Flittle-book-of.github.io\u002Flinear-algebra\u002Fbooks\u002Fen-US\u002Flab.html","little-book-of.github.io","tamnd",1758879973,2025,190,46,351,3837,10,"notable","learning_science","linear algebra education","other",[5,24,25,26],"numpy","python notebook","jupyter","debated",0.1,{"positive":30,"neutral":31,"mixed":32,"critical":33},8,3,1,7,19,{"docs":36,"idea":39,"design":41},{"positive":37,"critical":38},2,4,{"positive":32,"critical":40},0,{"positive":40,"critical":37},[40,43,40,31,40,43,31,40,32,40,40,40,40,40,43,40,40,40,32,31,31,32,40,40,40,43,43,40,31,32,40,40,40,32,40,40,32,43,40,43],5,null,{"problem":46,"audience":55,"pricing":44,"motivation":65,"time_to_build":44,"stack":73,"openness":99,"stage":100,"team_size":101},{"value":47,"source":48,"evidence":49},"Learning linear algebra through hands-on Python code","inferred",[50,52],{"id":51},"post",{"id":53,"by":11,"text":54},"45386055","By pairing, I mean that you can read the book alongside the notebook. Sometimes, in the notebook, I don't explain the concepts, only some Python code.",{"value":56,"source":48,"evidence":57},"Learners aiming at machine learning or computer vision, practitioners",[58,62],{"id":59,"by":60,"text":61},"45385010","johnh-hn","Thank you for creating and open sourcing this. I have a question if I may. If a person has the goal of getting into a field like computer vision or machine learning, would they…",{"id":63,"by":11,"text":64},"45385052","Definitely! If you scroll down a bit, you will see in Chapter 10 that I've included some fun applications, things like 2D\u002F3D geometry, linear regression, recommender systems, and…",{"value":66,"source":67,"evidence":68},"Help people learn linear algebra with practical applications","maker",[69,70],{"id":63,"by":11,"text":64},{"id":71,"by":11,"text":72},"45386132","I tried to build intuition before going into the formal definitions. Personally, I've always liked Bourbaki's books, but they're too formal for learning - especially in linear…",[74,81,93],{"value":75,"source":67,"evidence":76},"Python",[77,78],{"id":51},{"id":79,"by":11,"text":80},"45386030","Of course, this is about Python and NumPy. In practice, you'll often encounter the code before the underlying math (especially in Machine Learning), so developing intuition from…",{"value":82,"source":83,"evidence":84},"NumPy","commenter",[85,89],{"id":86,"by":87,"text":88},"45385602","constantcrying","What is a point of Linear Algebra Tutorial which does not even attempt to properly define what a vector is? >A vector has: >A symbol (we might call it v, w, or even →AB in…",{"id":90,"by":91,"text":92},"45385763","fnah1827","That book is about NumPy and not linear algebra. For actually learning linear algebra you need a math book, pen and paper. NumPy is the worst way of abstracting linear algebra…",{"value":94,"source":67,"evidence":95},"Jupyter \u002F Google Colab",[96],{"id":97,"by":11,"text":98},"45384863","Here is the Google Colab link for you https:\u002F\u002Fcolab.research.google.com\u002Fgithub\u002Flittle-book-of\u002Flinear-algebra\u002Fblob\u002Fmain\u002Freleases\u002Flab.ipynb","open_source","launched","unknown",{"praise":103,"objections":126,"requests":148,"questions":162,"alternatives":175},[104,119],{"value":105,"source":83,"evidence":106},"Useful companion to the book, with practical applications",[107,111,115],{"id":108,"by":109,"text":110},"45385132","freakynit","This is great. Covers a lot of useful topics. Thanks..",{"id":112,"by":113,"text":114},"45385553","ai_viewz","That is awesome work. I really find it usefull.",{"id":116,"by":117,"text":118},"45386326","badbart14","This is awesome, been going through the little book as a way to refresh myself on linear algebra which I see has been updated as well. Luckily only on chapter 4 so definitely…",{"value":120,"source":83,"evidence":121},"Book sections on why topics matter are valuable",[122],{"id":123,"by":124,"text":125},"45390210","CamperBob2","There are already an uncountable number of linear algebra textbooks on the market. This is not meant to be a formal math textbook, but is instead aimed at those looking to pick…",[127,137,144],{"value":128,"source":83,"evidence":129},"Vector definition is too informal and not abstract enough",[130,133,136],{"id":131,"by":87,"text":132},"45385886",">the core ideas of linear algebra I think it is actually delusional to say that a book which does not properly define what a vector is, contains the \"core ideas\" of linear…",{"id":134,"by":87,"text":135},"45385955","The book is even worse: \"A vector, by contrast, is an ordered collection of numbers.\" This is a terrible definition and makes talking about proper linear algebra proper impossible.",{"id":86,"by":87,"text":88},{"value":138,"source":83,"evidence":139},"Gray-dot linear combination picture is misleading",[140],{"id":141,"by":142,"text":143},"45385754","kccqzy","The linear combination picture is extremely misleading: the gray dots show the linear combinations where the coefficients are integers, but we are in the vector space R^2! This…",{"value":145,"source":83,"evidence":146},"Notebook is about NumPy rather than linear algebra itself",[147],{"id":90,"by":91,"text":92},[149,156],{"value":150,"source":83,"evidence":151},"Upgrade PyTorch examples to PyTorch 2",[152],{"id":153,"by":154,"text":155},"45385954","synergy20","would be great if upgrades to pytorch 2",{"value":157,"source":67,"evidence":158},"Contributions to improve the book",[159],{"id":160,"by":11,"text":161},"45386170","Every contribution is welcome: whether it's criticism, fixing typos, or even completely rewriting a section! Writing this book has been a real challenge for me, since all the…",[163,167],{"value":164,"source":83,"evidence":165},"Can someone be useful in ML after completing this book?",[166],{"id":59,"by":60,"text":61},{"value":168,"source":83,"evidence":169},"Is the book the same as the notebook?",[170,174],{"id":171,"by":172,"text":173},"45385670","wodenokoto","pairs well? Isn't it the same book?",{"id":53,"by":11,"text":54},[176,186,190,196,203,207],{"value":177,"source":83,"evidence":178},"Golub and Van Loan",[179,183],{"id":180,"by":181,"text":182},"45386266","coderatlarge","even Golub and van Loan basically start there.",{"id":184,"by":181,"text":185},"45402262","as i said if you want infinite dimensional things like Fourier transforms acting on function spaces you may benefit from additional abstraction. but even those people will…",{"value":187,"source":67,"evidence":188},"Bourbaki books",[189],{"id":71,"by":11,"text":72},{"value":191,"source":67,"evidence":192},"3Blue1Brown series",[193],{"id":194,"by":11,"text":195},"45386086","So sad that you didn't like the book : ( I'm not really a visual guy, so let me rewatch the awesome 3Blue1Brown series and try to visualize it again:…",{"value":197,"source":83,"evidence":198},"Marimo notebook",[199],{"id":200,"by":201,"text":202},"45387928","qustrolabe","Marimo notebook would fit nicely here for interactive examples where you could play with values and see computations in real time, though it probably lacks in formatting…",{"value":204,"source":83,"evidence":205},"Octave\u002FMATLAB",[206],{"id":90,"by":91,"text":92},{"value":208,"source":83,"evidence":209},"Mathematica",[210],{"id":211,"by":212,"text":213},"45388684","abdullahkhalids","The best is of course Wolfram + the Mathematica libraries. You get full symbolic manipulation as well, so you can do abstract linear algebra as well.",{"comments":30,"answered":32,"key":215},[216,219,220],{"id":217,"text":218},"45384844","This pairs really well with the little book https:\u002F\u002Fgithub.com\u002Flittle-book-of\u002Flinear-algebra, I have recently updated it with more content and clearer explanations, so if you're…",{"id":97,"text":98},{"id":63,"text":64},{"commenters":222,"max_depth":43,"maker_replies":30,"first_comment_mins":223,"lifespan_hours":224},26,34,59,[226,228,232,234,236,238,240,242,246,247,249,251,252,254,255,258,260,262,266,267,269,270,273,274,278,279,282,284,285,288,290,292,295,297,299,300,303,305,307,309,312,313,315,316,319,321],[217,40,40,227,11,32],"project\u002Fpositive\u002Fdocs",[229,40,43,230,231,40],"45384855","maker\u002Fpositive\u002Fnone","m00dy",[97,40,40,233,11,32],"project\u002Fneutral\u002Fdocs",[59,40,31,235,60,40],"maker\u002Fneutral\u002Fnone",[63,40,40,237,11,32],"project\u002Fpositive\u002Fidea",[239,40,43,230,60,40],"45385094",[171,40,31,241,172,40],"maker\u002Fneutral\u002Fdocs",[243,40,40,244,245,40],"45385776","commenter\u002Fneutral\u002Fnone","dazzaji",[53,40,40,233,11,32],[131,40,32,248,87,40],"project\u002Fcritical\u002Fdocs",[250,40,40,244,181,40],"45386126",[180,40,40,244,181,40],[253,40,40,244,87,40],"45388567",[184,40,40,244,181,40],[256,40,40,244,257,40],"45386179","mouse_",[259,40,40,244,124,40],"45390005",[116,32,43,261,117,40],"project\u002Fpositive\u002Fnone",[263,37,40,264,265,40],"45385361","other\u002Fneutral\u002Fnone","stared",[153,37,40,264,154,40],[268,37,40,264,265,40],"45407734",[86,31,32,248,87,40],[271,31,32,248,272,40],"45385742","voidhorse",[123,31,43,237,124,40],[275,31,31,276,277,40],"45385854","project\u002Fmixed\u002Fdocs","__MatrixMan__",[134,31,32,248,87,40],[280,31,40,244,281,40],"45386128","dvrj101",[160,31,40,283,11,32],"project\u002Fneutral\u002Fnone",[71,31,40,233,11,32],[286,31,43,227,287,40],"45387428","hirako2000",[289,31,40,244,277,40],"45389958",[291,31,43,227,124,40],"45397691",[293,31,40,244,294,40],"45385888","canthonytucci",[200,38,31,296,201,40],"project\u002Fneutral\u002Fdesign",[141,43,32,298,142,40],"project\u002Fcritical\u002Fdesign",[194,43,40,296,11,32],[301,43,40,244,302,40],"45386257","dang",[304,43,40,264,142,40],"45390816",[306,43,40,264,302,40],"45393349",[90,308,32,298,91,40],6,[310,308,40,244,311,40],"45386016","cowLamp",[79,308,40,233,11,32],[211,308,32,314,212,40],"project\u002Fcritical\u002Fnone",[108,33,43,261,109,40],[317,33,40,264,318,40],"45385532","pplonski86",[320,33,40,264,154,40],"45385979",[112,30,43,261,113,40],[],[324,328,333,338,342,347],{"id":325,"name":326,"points":327,"category":20},"45438346","Autism Simulator",779,{"id":329,"name":330,"points":331,"category":332},"45404667","Toolbrew",269,"dev_tools",{"id":334,"name":335,"points":336,"category":337},"45430294","Glide",207,"consumer_social",{"id":339,"name":340,"points":341,"category":332},"45427697","Sculptor",176,{"id":343,"name":344,"points":345,"category":346},"45431115","Cobalt",174,"creative",{"id":348,"name":349,"points":350,"category":351},"45400006","Unite",149,"infrastructure",false,"v2",{"id":355,"name":5,"line":6,"ai":352,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":28,"top":18,"kw":356,"maker":11,"domain":10,"tier":19,"attempts":40,"strip":357,"url":9,"mix":358,"praise":105,"objection":128,"sub":21},45384617,[5,24,25,26],"0503053010000050001331000550310001001505",[30,31,32,33],1794036683141]