AtheMathmo / rusty-machine

Machine Learning library for Rust
https://crates.io/crates/rusty-machine/
MIT License
1.25k stars 153 forks source link

Linear regression model panics if unable to solve linear equation. #200

Open MichaelMauderer opened 5 years ago

MichaelMauderer commented 5 years ago

The LinRegressor.train method panics if it is unable to solve the given linear equation. It would be better if it returned a LearningResult indicating the failure.

MichaelMauderer commented 5 years ago

Actually, it seems this is fixed in the master branch but hasn't been released yet.