Ticket #1211 (closed bug: worksforme)
Exception "raise LinAlgError, 'Singular matrix'" when attribute has value of o in all examples in Linear Regression
|Reported by:||skokko||Owned by:||lanz|
I have an Example Table, and one of the variables always has the value 0.0 in every example. When running Linear Regression, I was expecting that the beta for this variable would be 0 and the algorithm would ignore this variable and solve for the rest. Instead it raises an exception 'Singular matrix' in line 328 of file linalg.py: " if resultsinfo? > 0: raise LinAlgError, 'Singular matrix'".