niuers / linear-algebra-and-learning-from-data Goto Github PK
View Code? Open in Web Editor NEWSolutions to the problems in the book: Linear Algebra and Learning from Data by Gilbert Strang, MIT
Solutions to the problems in the book: Linear Algebra and Learning from Data by Gilbert Strang, MIT
Hello, I believe there is a mistake in the variance calculation -- the mean m should be subtracted from each x before squaring. Though I did not go through them, it looks like this may apply to 5.1.4 and 5.1.5 as well.
I believe there is a mistake in the solution for the closest rank-1 matrix to the matrix [[2, 1], [1, 2]].
It should be 3/2 [[1, 1], [1, 1]]. I think you left out the multiplication by the sigma term 3.
Dear @niuers,
Thank you for posting your solutions, they help a lot!
Can I offer one that is still work in progress? It's on section III.3, question 6 (Sylvester eq.)
Dear Neil,
may I repost your content on my website (with proper citations)?
In Problem I.1.6, in the second solution for D there is a mistake in the computation.
Let the corners of the parallelogram are: $A=(1,1)$, $B=(1,3)$, $C=(4,2)$, the fourth corner is $D$. There are three possible values for $D$,
[...]
* If $BD=AC$, then $D = B + BD = B + AC = B + (C-A) = (4,2) + (3, 1) = (7, 3)$
In the last step B+(C-A) = (4,2) + (3, 1) = (7, 3)
, B=(1,3)
seems to have been confused with C=(4,2)
.
I believe it should read B+(C-A) = (1,3) + (3, 1) = (4, 4)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.