|
6 | 6 |
|
7 | 7 | use std::{collections::HashMap, num::NonZeroU32};
|
8 | 8 |
|
9 |
| -use crate::{FeatureMode, Holiday, PositiveFloat, TrendIndicator}; |
| 9 | +use crate::{FeatureMode, Holiday, PositiveFloat, TimestampSeconds, TrendIndicator}; |
10 | 10 |
|
11 | 11 | /// The type of growth to use.
|
12 | 12 | #[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
@@ -83,7 +83,7 @@ pub struct OptProphetOptions {
|
83 | 83 | /// An optional list of changepoints.
|
84 | 84 | ///
|
85 | 85 | /// If not provided, changepoints will be automatically selected.
|
86 |
| - pub changepoints: Option<Vec<u64>>, |
| 86 | + pub changepoints: Option<Vec<TimestampSeconds>>, |
87 | 87 |
|
88 | 88 | /// The number of potential changepoints to include.
|
89 | 89 | ///
|
@@ -215,7 +215,7 @@ pub struct ProphetOptions {
|
215 | 215 | /// An optional list of changepoints.
|
216 | 216 | ///
|
217 | 217 | /// If not provided, changepoints will be automatically selected.
|
218 |
| - pub changepoints: Option<Vec<u64>>, |
| 218 | + pub changepoints: Option<Vec<TimestampSeconds>>, |
219 | 219 |
|
220 | 220 | /// The number of potential changepoints to include.
|
221 | 221 | ///
|
|
0 commit comments