@@ -752,15 +752,15 @@ Base.show(io::IO, e::CompactPerformanceEvaluation) =
752
752
# # USER CONTROL OF DEFAULT LOGGING
753
753
754
754
const DOC_DEFAULT_LOGGER =
755
- """
755
+ """
756
756
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.
760
760
761
- !!! note
761
+ !!! note
762
762
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`.
764
764
765
765
"""
766
766
@@ -772,8 +772,7 @@ tracking platforms, such as [MLflow](https://mlflow.org/docs/latest/index.html).
772
772
773
773
$DOC_DEFAULT_LOGGER
774
774
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`.
777
776
778
777
"""
779
778
default_logger () = DEFAULT_LOGGER[]
@@ -786,9 +785,9 @@ Reset the default logger.
786
785
# Example
787
786
788
787
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:
792
791
793
792
```julia-repl
794
793
using MLJ
@@ -798,6 +797,7 @@ default_logger(logger)
798
797
X, y = make_moons()
799
798
model = ConstantClassifier()
800
799
evaluate(model, X, y, measures=[log_loss, accuracy)])
800
+ ```
801
801
802
802
"""
803
803
function default_logger (logger)
0 commit comments