rinuboney / clatern

Machine Learning in Clojure
Eclipse Public License 1.0
67 stars 12 forks source link

Linear Regression doesn't handle vectors correctly #21

Closed rnowling closed 9 years ago

rnowling commented 9 years ago

Linear Regression places the intercept at index 0 of the coefs vector but appends the 1 to the end of the prediction vector v. This is a result of using conj which has different behavior for lists and vectors.

rnowling commented 9 years ago

Closed via PR #23 .