strange array size problem

Oscar Benjamin oscar.j.benjamin at gmail.com
Fri Oct 18 11:44:31 EDT 2013


On 18 October 2013 16:36,  <chip9munk at gmail.com> wrote:
> one more thing.
>
> the problem is not in the last column, if I use it in regression (only that column, or with a few others) I will get the results. But if I use all 43 columns python breaks!

Have you tried testing the rank with numpy.linalg.matrix_rank? I'm
guessing that the extra row makes the matrix singular (up to floating
point error).


Oscar



More information about the Python-list mailing list