Skip to content

Commit

Permalink
Merge pull request #52 from vonpetersenn/main
Browse files Browse the repository at this point in the history
Improve documentation clarity for `tags` variable and update type in function definition.
  • Loading branch information
pebeto authored Nov 2, 2024
2 parents 5345a0b + 869886e commit 6d9bfeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/experiments.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Creates an MLFlow experiment.
- `mlf`: [`MLFlow`](@ref) configuration.
- `name`: experiment name. If not specified, MLFlow sets it.
- `artifact_location`: directory where artifacts of this experiment will be stored. If not specified, MLFlow uses its default configuration.
- `tags`: a Dictionary of key-values which tag the experiment.
- `tags`: a Vector of Dictionaries which tag the experiment.
- example tags: [Dict("key" => "foo", "value" => "bar"), Dict("key" => "missy", "value" => "gala")]
# Returns
An object of type [`MLFlowExperiment`](@ref).
Expand Down Expand Up @@ -97,7 +98,8 @@ Gets an experiment if one alrady exists, or creates a new one.
- `mlf`: [`MLFlow`](@ref) configuration.
- `experiment_name`: Experiment name.
- `artifact_location`: directory where artifacts of this experiment will be stored. If not specified, MLFlow uses its default configuration.
- `tags`: a Dictionary of key-values which tag the experiment.
- `tags`: a Vector of Dictionaries which tag the experiment.
- example tags: [Dict("key" => "foo", "value" => "bar"), Dict("key" => "missy", "value" => "gala")]
# Returns
An instance of type [`MLFlowExperiment`](@ref)
Expand Down
3 changes: 2 additions & 1 deletion src/runs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Creates a run associated to an experiment.
# Keywords
- `run_name`: run name. If not specified, MLFlow sets it.
- `start_time`: if provided, must be a UNIX timestamp in milliseconds. By default, set to current time.
- `tags`: if provided, must be a key-value structure such as a dictionary.
- `tags`: if provided, must be a key-value structure such as for example:
- [Dict("key" => "foo", "value" => "bar"), Dict("key" => "missy", "value" => "gala")]
# Returns
- an instance of type [`MLFlowRun`](@ref)
Expand Down

0 comments on commit 6d9bfeb

Please sign in to comment.