Skip to content

Commit

Permalink
Update docs/src/workflow examples/Incremental Training.md
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Blaom, PhD <[email protected]>
  • Loading branch information
EssamWisam and ablaom authored May 24, 2024
1 parent e68755c commit 640ef2c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/src/workflow examples/Incremental Training.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ Chain(Chain(Dense(4, 3, σ), Flux.Dropout{Float64}(0.5, false), Dense(3, 3)), so
```julia
r = range(clf, :epochs, lower=1, upper=200, scale=:log10)
curve = learning_curve(clf, X, y,
range=r,
resampling=Holdout(fraction_train=0.7),
measure=cross_entropy)
curve = learning_curve(
clf, X, y;
range=r,
resampling=Holdout(fraction_train=0.7),
measure=cross_entropy,
)
using Plots
plot(curve.parameter_values,
curve.measurements,
Expand Down

0 comments on commit 640ef2c

Please sign in to comment.