pub trait BaseEstimator: Send + Sync {
// Required methods
fn fit(&mut self, x: &Tensor, y: &Tensor);
fn predict(&self, x: &Tensor) -> Tensor;
fn clone_box(&self) -> Box<dyn BaseEstimator>;
}Expand description
Base estimator trait for stacking