Skip to content

Commit

Permalink
Merge pull request #1139 from JuliaAI/default-logger
Browse files Browse the repository at this point in the history
Update doc page for third party logging platforms
  • Loading branch information
ablaom authored Aug 2, 2024
2 parents 3045942 + 90df1ae commit 8acbda0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pages = [
"Learning Networks" => "learning_networks.md",
],
"Third Party Tools" => [
"Logging Workflows using MLflow" => "logging_workflows.md",
"Logging Workflows" => "logging_workflows.md",
"Third Party Packages" => "third_party_packages.md",
],
"Customization and Extension" => [
Expand Down
25 changes: 20 additions & 5 deletions docs/src/logging_workflows.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# Logging Workflows

## MLflow integration
Currently the following workflows can log their outcomes to an external machine learning
tracking platform, such as [MLflow](https://mlflow.org) (see [MLflow](@ref) below):

[MLflow](https://mlflow.org) is a popular, language-agnostic, tool for externally logging
the outcomes of machine learning experiments, including those carried out using MLJ.
- Estimating model performance using [`evaluate`](@ref)/[`evaluate!`](@ref).

- Model tuning, using the `TunedModel` wrapper, as described under [Tuning Models](@ref).

To enable logging one must create a `logger` object for the relevant tracking platform,
and either:

- Provide `logger` as an explicit keyword argument in the workflow, as in `evaluate(...;
logger=...)` or `TunedModel(...; logger=...)`; or

- Set a global default logger with the call [`default_logger(logger)`](@ref).

MLJ logging examples are given in the [MLJFlow.jl](https://github.com/JuliaAI/MLJFlow.jl)
documentation. MLJ includes and re-exports all the methods of MLJFlow.jl, so there is no
need to import MLJFlow.jl if `using MLJ`.
documentation.
x

### Supported tracking platforms

- [MLflow](@ref) (natively supported: MLJ re-exports `MLJFlow.Logger(...)`)


!!! warning

Expand Down

0 comments on commit 8acbda0

Please sign in to comment.