Skip to content

Commit 1152896

Browse files
author
andre_ramos
committed
fix docs, add yml for julia formatting
1 parent 03e5b55 commit 1152896

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

.github/workflows/format-check.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Format suggestions
2+
on:
3+
pull_request:
4+
# this argument is not required if you don't use the `suggestion-label` input
5+
types: [ opened, reopened, synchronize, labeled, unlabeled ]
6+
jobs:
7+
code-style:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: julia-actions/julia-format@v3
11+
with:
12+
version: '1' # Set `version` to '1.0.54' if you need to use JuliaFormatter.jl v1.0.54 (default: '1')
13+
suggestion-label: 'format-suggest' # leave this unset or empty to show suggestions for all PRs

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "StateSpaceLearning"
22
uuid = "971c4b7c-2c4e-4bac-8525-e842df3cde7b"
33
authors = ["andreramosfc <[email protected]>"]
4-
version = "1.0.0"
4+
version = "1.0.1"
55

66
[deps]
77
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ model = StructuralModel(y)
2020
fit!(model)
2121

2222
# Point Forecast
23-
prediction = StateSpaceLearning.forecast(output, 12) #Gets a 12 steps ahead prediction
23+
prediction = StateSpaceLearning.forecast(model, 12) #Gets a 12 steps ahead prediction
2424

2525
# Scenarios Path Simulation
26-
simulation = StateSpaceLearning.simulate(output, 12, 1000) #Gets 1000 scenarios path of 12 steps ahead predictions
26+
simulation = StateSpaceLearning.simulate(model, 12, 1000) #Gets 1000 scenarios path of 12 steps ahead predictions
2727
```
2828

2929
## StructuralModel Arguments

docs/src/manual.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ model = StructuralModel(y)
1616
fit!(model)
1717

1818
# Point Forecast
19-
prediction = StateSpaceLearning.forecast(output, 12) #Gets a 12 steps ahead prediction
19+
prediction = StateSpaceLearning.forecast(model, 12) #Gets a 12 steps ahead prediction
2020

2121
# Scenarios Path Simulation
22-
simulation = StateSpaceLearning.simulate(output, 12, 1000) #Gets 1000 scenarios path of 12 steps ahead predictions
22+
simulation = StateSpaceLearning.simulate(model, 12, 1000) #Gets 1000 scenarios path of 12 steps ahead predictions
2323
```
2424

2525
## StructuralModel Arguments

0 commit comments

Comments
 (0)