Skip to content

Commit bfe6be9

Browse files
authored
fix typo
1 parent 34199ca commit bfe6be9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/models/overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Use the `actual` function to build sets of data for training and verification:
3232
julia> x_train, x_test = hcat(0:5...), hcat(6:10...)
3333
([0 1 … 4 5], [6 7 … 9 10])
3434
35-
julia> y_train, y_test = actual.(x_train), actual.(y_train)
35+
julia> y_train, y_test = actual.(x_train), actual.(x_test)
3636
([2 6 … 18 22], [26 30 … 38 42])
3737
```
3838

@@ -172,11 +172,11 @@ After 200 training steps, the loss went down, and the parameters are getting clo
172172
Now, let's verify the predictions:
173173

174174
```
175-
julia> predict(y_test)
175+
julia> predict(x_test)
176176
1×5 Array{Float64,2}:
177177
105.306 121.2 137.095 152.989 168.883
178178
179-
julia> actual.(y_test)
179+
julia> y_test
180180
1×5 Array{Int64,2}:
181181
106 122 138 154 170
182182
```

0 commit comments

Comments
 (0)