problem about linear-regression-Collection of common programming errors


  • max
    math numpy python-3.x scipy linear-regression
    Due to a bug (perhaps in the numpy distribution I’m using), I can’t use numpy.linalg.lstsq. And every statistics library I found didn’t install under python 3 (on Windows).Does someone have pure python 3 code that would perform a multiple linear regression (I just need the betas)?If not pure python, I could still try it, if maybe the code happens to not use the same C function that crashes numpy.linalg.lstsq on my machine.Thanks!

  • C. Reed
    java linear-regression
    Does anyone know of a scientific/mathematic library in Java that has a straightforward implementation of weighted linear regression? Something along the lines of a function that takes 3 arguments and returns the corresponding coefficients:linearRegression(x,y,weights) This seems fairly straightforward, so I imagine it exists somewhere.PS) I’ve tried Flannigan’s library: http://www.ee.ucl.ac.uk/~mflanaga/java/Regression.html, it has the right idea but seems to crash sporadically and complain ou

  • user1142671
    matlab curve-fitting linear-regression
    I have a set of vector ‘measured_data’ containing 200 sample data which are positive floating point values. I am having a tough time to find a model which fits this data.The following code returns error in every step,i.e on commenting predict(),the next command throws another error…so nothing seems to be working.I thoroughly went through the documentation and I just cannot seem to understand what is the problem and where I am going wrong.I shall be really grateful if someone can go through the

Web site is in building

I discovery a place to host code、demo、 blog and websites.
Site access is fast but not money