Looking for usage documentation? Check out Relational predictions.
PredictiveContext
View source ValueError
If the validation window ends after the last row at or
before test_timestamp.
PredictiveContext.from_yaml
View source PredictiveContext.fit
View source PredictiveContext.precompute_cache
View source cache_dir.
Featurizes exactly what fit reads (the inner split for tuning, the outer
refit split), so a later fit(model, cache_dir=...) reads the DFS instead of
recomputing it. For a large custom database, run this on a big CPU node, then
fit on the GPU. The artifacts are shared by all DFS models.
PredictiveContext.compute_test_labels
View source ValueError
If the first test window is not fully covered by the data.