@@ -6,14 +6,16 @@ Creates an MLFlow experiment.
6
6
# Arguments
7
7
- `mlf`: [`MLFlow`](@ref) configuration.
8
8
- `name`: experiment name. If not specified, MLFlow sets it.
9
- - `artifact_location`: directory where artifacts of this experiment will be stored. If not specified, MLFlow uses its default configuration.
9
+ - `artifact_location`: directory where artifacts of this experiment will be
10
+ stored. If not specified, `./mlruns` will be used (it will take the directory
11
+ where you are running `mlflow` as the root one).
10
12
- `tags`: a Dictionary of key-values which tag the experiment.
11
13
12
14
# Returns
13
15
An object of type [`MLFlowExperiment`](@ref).
14
16
15
17
"""
16
- function createexperiment (mlf:: MLFlow ; name= missing , artifact_location= missing , tags= missing )
18
+ function createexperiment (mlf:: MLFlow ; name= missing , artifact_location= " ./mlruns " , tags= missing )
17
19
endpoint = " experiments/create"
18
20
19
21
if ismissing (name)
@@ -103,7 +105,7 @@ Gets an experiment if one alrady exists, or creates a new one.
103
105
An instance of type [`MLFlowExperiment`](@ref)
104
106
105
107
"""
106
- function getorcreateexperiment (mlf:: MLFlow , experiment_name:: String ; artifact_location= missing , tags= missing )
108
+ function getorcreateexperiment (mlf:: MLFlow , experiment_name:: String ; artifact_location= " ./mlruns " , tags= missing )
107
109
experiment = getexperiment (mlf, experiment_name)
108
110
109
111
if ismissing (experiment)
0 commit comments