batched_kalman.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2019-2021, NVIDIA CORPORATION.
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 
6 #pragma once
7 
9 
10 namespace raft {
11 class handle_t;
12 }
13 
14 namespace ML {
15 
42 void batched_kalman_filter(raft::handle_t& handle,
43  const ARIMAMemory<double>& arima_mem,
44  const double* d_ys,
45  const double* d_exog,
46  int nobs,
48  const ARIMAOrder& order,
49  int batch_size,
50  double* d_loglike,
51  double* d_pred,
52  int fc_steps = 0,
53  double* d_fc = nullptr,
54  const double* d_exog_fut = nullptr,
55  double level = 0,
56  double* d_lower = nullptr,
57  double* d_upper = nullptr);
58 
74 void batched_jones_transform(raft::handle_t& handle,
75  const ARIMAMemory<double>& arima_mem,
76  const ARIMAOrder& order,
77  int batch_size,
78  bool isInv,
79  const double* h_params,
80  double* h_Tparams);
81 } // namespace ML
Definition: params.hpp:23
Definition: dbscan.hpp:18
void batched_jones_transform(raft::handle_t &handle, const ARIMAMemory< double > &arima_mem, const ARIMAOrder &order, int batch_size, bool isInv, const double *h_params, double *h_Tparams)
void batched_kalman_filter(raft::handle_t &handle, const ARIMAMemory< double > &arima_mem, const double *d_ys, const double *d_exog, int nobs, const ARIMAParams< double > ¶ms, const ARIMAOrder &order, int batch_size, double *d_loglike, double *d_pred, int fc_steps=0, double *d_fc=nullptr, const double *d_exog_fut=nullptr, double level=0, double *d_lower=nullptr, double *d_upper=nullptr)
Definition: dbscan.hpp:14
Definition: arima_common.h:208
Definition: arima_common.h:26
Definition: arima_common.h:53