Skip to content

bigfunctions > prophet

prophet

Signature

prophet(records, periods, kwargs)

Description

Forecast time-series using prophet (inspired from this Felipe Hoffa medium's post)

Examples

select bigfunctions.eu.prophet(json'[["2020-01-01", 1], ["2020-01-02", 2]]', 3)
select bigfunctions.us.prophet(json'[["2020-01-01", 1], ["2020-01-02", 2]]', 3)
select bigfunctions.europe_west1.prophet(json'[["2020-01-01", 1], ["2020-01-02", 2]]', 3)
+-----------------------------------------------------------+
| forecasted_records                                        |
+-----------------------------------------------------------+
| [["2020-01-03", 3], ["2020-01-04", 4], ["2020-01-05", 5]] |
+-----------------------------------------------------------+