Skip to content

Commit ecb4322

Browse files
committed
fix docstring
fix some more
1 parent 370b3da commit ecb4322

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/resampling.jl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -752,15 +752,15 @@ Base.show(io::IO, e::CompactPerformanceEvaluation) =
752752
## USER CONTROL OF DEFAULT LOGGING
753753

754754
const DOC_DEFAULT_LOGGER =
755-
"""
755+
"""
756756
757-
The default logger is used in calls to [`evaluate!`](@ref) and [`evaluate`](@ref), and
758-
in the constructors `TunedModel` and `IteratedModel`, unless the `logger` keyword is
759-
explicitly specified.
757+
The default logger is used in calls to [`evaluate!`](@ref) and [`evaluate`](@ref), and
758+
in the constructors `TunedModel` and `IteratedModel`, unless the `logger` keyword is
759+
explicitly specified.
760760
761-
!!! note
761+
!!! note
762762
763-
Prior to MLJ v0.20.7 (and MLJBase 1.5) the default logger was always `nothing`.
763+
Prior to MLJ v0.20.7 (and MLJBase 1.5) the default logger was always `nothing`.
764764
765765
"""
766766

@@ -772,8 +772,7 @@ tracking platforms, such as [MLflow](https://mlflow.org/docs/latest/index.html).
772772
773773
$DOC_DEFAULT_LOGGER
774774
775-
When MLJBase is first loaded, the default logger is `nothing`. To reset the logger, see
776-
beow.
775+
When MLJBase is first loaded, the default logger is `nothing`.
777776
778777
"""
779778
default_logger() = DEFAULT_LOGGER[]
@@ -786,9 +785,9 @@ Reset the default logger.
786785
# Example
787786
788787
Suppose an [MLflow](https://mlflow.org/docs/latest/index.html) tracking service is running
789-
on a local server at `http://127.0.0.1:500`. Then every in every `evaluate` call in which
790-
`logger` is not specified, as in the example below, the peformance evaluation is
791-
automatically logged to the service.
788+
on a local server at `http://127.0.0.1:500`. Then in every `evaluate` call in which
789+
`logger` is not specified, the peformance evaluation is
790+
automatically logged to the service, as here:
792791
793792
```julia-repl
794793
using MLJ
@@ -798,6 +797,7 @@ default_logger(logger)
798797
X, y = make_moons()
799798
model = ConstantClassifier()
800799
evaluate(model, X, y, measures=[log_loss, accuracy)])
800+
```
801801
802802
"""
803803
function default_logger(logger)

0 commit comments

Comments
 (0)