-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathindex.d.ts
More file actions
32 lines (29 loc) · 760 Bytes
/
index.d.ts
File metadata and controls
32 lines (29 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
interface ARIMAOptions {
p?: number
d?: number
q?: number
P?: number
D?: number
Q?: number
s?: number
method?: number
optimizer?: number
verbose?: boolean
transpose?: boolean
auto?: boolean
approximation?: number
search?: number
}
interface ARIMAInstance {
train(ts: number[], exog?: number[] | number[][]): this
fit(ts: number[], exog?: number[] | number[][]): this
predict(length: number, exog?: number[] | number[][]): [number[], number[]]
destroy(): void
}
interface ARIMAConstructor {
new (options?: ARIMAOptions): ARIMAInstance
/** @deprecated Use `new ARIMA(opts)` instead */
(ts: number[], length: number, options?: ARIMAOptions): [number[], number[]]
}
declare const ARIMA: ARIMAConstructor
export = ARIMA