Set optimization method
(&mut self, method: OptMethod)
| 214 | |
| 215 | /// Set optimization method |
| 216 | pub fn set_method(&mut self, method: OptMethod) -> &mut Self { |
| 217 | self.method = method; |
| 218 | self |
| 219 | } |
| 220 | |
| 221 | /// Set learning rate for `GradientDescent` |
| 222 | pub fn set_lr(&mut self, lr: f64) -> &mut Self { |
no outgoing calls