I used numpy
mainly to generate random numbers, but this can as well be done with the random
package.
Pavel, I have a mathematical challenge that needs solving.
Are you interested?
Feel free to share the details, other mentors may have their ideas too. If you are still trying to implement the total least squares regression I recommend you to check Deming Regression and Support Vector Machines.