Computational Physics, Python, Linear Algebra, Math, Mathematics.
b, 1) array([[0.21538462], [2.2 ]]) That’s good! We have seen how to use the pseudo-inverse in order to solve a simple regression problem. Let’s see with a more realistic case. Example 4. To see the process with more data points we can generate data We will generate a column vector (see reshape()