moonalloy 0.3.2

The oxidized scientific computing library for the 21st century
Documentation
1
2
3
4
5
6
use crate::linalg::array::Array;

pub trait Model {
    fn optimize(&mut self, xs: Array, ys: Array);
    fn predict(&mut self, observed_xs: Array) -> Array;
}