Skip to content

Commit 40f6dd8

Browse files
committed
Fix fenced code examples
1 parent a135165 commit 40f6dd8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/composition/models/pipelines.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ or what `transform` returns if it is `Unsupervised`.
182182
Names for the component fields are automatically generated unless
183183
explicitly specified, as in
184184
185-
```
185+
```julia
186186
Pipeline(encoder=ContinuousEncoder(drop_last=false),
187187
stand=Standardizer())
188188
```

src/resampling.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,14 +790,15 @@ on a local server at `http://127.0.0.1:500`. Then every in every `evaluate` call
790790
`logger` is not specified, as in the example below, the peformance evaluation is
791791
automatically logged to the service.
792792
793-
```julia-repl
793+
```julia
794794
using MLJ
795795
logger = MLJFlow.Logger("http://127.0.0.1:5000/api")
796796
default_logger(logger)
797797
798798
X, y = make_moons()
799799
model = ConstantClassifier()
800800
evaluate(model, X, y, measures=[log_loss, accuracy)])
801+
```
801802
802803
"""
803804
function default_logger(logger)

0 commit comments

Comments
 (0)