Implemented more functions
This commit is contained in:
@@ -33,7 +33,7 @@ impl RecursiveFitter {
|
||||
let m = kernel.order();
|
||||
let h = kernel.measurement_vector();
|
||||
|
||||
RecursiveFitter {
|
||||
Self {
|
||||
ts_new: Vec::new(),
|
||||
kernel,
|
||||
ts: Vec::new(),
|
||||
@@ -215,6 +215,7 @@ impl Fitter for RecursiveFitter {
|
||||
self.is_fitted = true;
|
||||
}
|
||||
|
||||
#[allow(clippy::many_single_char_names)]
|
||||
fn predict(&self, ts: &[f64]) -> (Vec<f64>, Vec<f64>) {
|
||||
if !self.is_fitted {
|
||||
panic!("new data since last call to `fit()`");
|
||||
|
||||
Reference in New Issue
Block a user