scientist 0.1.2

Machine Learning Algorithms in Rust
Documentation
1
2
3
4
5
pub trait Model {
    fn new() -> Self;
    fn fit(&mut self, x_train: &Vec<Vec<f64>>, y_train: &Vec<f64>);
    fn predict(&self, x_validation: &Vec<Vec<f64>>) -> Vec<f64>;
}