pub fn validate_input( timestamps: &[i64], values: &[f64], ) -> Result<(), ForecastError>
Validate that all input values are finite (no NaN or Inf) and timestamps match values in length.