Skip to content

Commit

Permalink
docs: README: tell about the components of the forecast
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeguimaraes committed Sep 8, 2024
1 parent d41bfec commit 3c1104e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ predictions = Soothsayer.predict(fitted_model, Series.from_list(Enum.to_list(fut
IO.inspect(predictions)
```

You can also get the components of the forecast:

```elixir
components = Soothsayer.predict_components(fitted_model, Series.from_list(Enum.to_list(future_dates)))

#> %{comboned: ..., trend: ..., yearly_seasonality: ..., weekly_seasonality: ...}
```

### Customizing the Model

You can customize various aspects of the model:
Expand Down

0 comments on commit 3c1104e

Please sign in to comment.