Skip to content

Commit 81263c0

Browse files
authored
Merge pull request #2 from JuliaAI/docfixes
Minor updates to documentation
2 parents d2b543c + 28213d0 commit 81263c0

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ version = "0.1.0"
55

66
[deps]
77
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
8-
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
98
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
109
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
1110
URIs = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4"
1211
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
1312

1413
[compat]
15-
Documenter = "0.27"
1614
HTTP = "0.9"
1715
JSON = "0.21"
1816
URIs = "1"

docs/src/tutorial.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Suppose that you are developing a method `getpricepath(α, n)` which generates a
1010

1111
```julia
1212
using Plots
13-
using MLFlowClient
1413
using Random
1514

1615
αs = [0.0, 0.9, 0.98]
@@ -58,7 +57,7 @@ using Random
5857
αs = [0.0, 0.9, 0.98]
5958
n = 100
6059

61-
"""Method that generates price paths of length `n` based on `α`"""
60+
"Method that generates price paths of length `n` based on `α`"
6261
function getpricepath(α, n)
6362
x = zeros(n + 1)
6463
x[1] = 0.0
@@ -70,7 +69,7 @@ end
7069
p = plot()
7170

7271
# Create MLFlow instance
73-
mlf = MLFlow("http://localhost")
72+
mlf = MLFlow("http://localhost:5000")
7473

7574
# Initiate new experiment
7675
experiment_id = createexperiment(mlf; name="price-paths")

examples/simple-with-mlflow.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ end
1818
p = plot()
1919

2020
# Create MLFlow instance
21-
mlf = MLFlow("http://localhost")
21+
mlf = MLFlow("http://localhost:5000")
2222

2323
# Initiate new experiment
2424
experiment_id = createexperiment(mlf; name="price-paths")

examples/simple-without-mlflow.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Plots
2-
using MLFlowClient
32
using Random
43

54
αs = [0.0, 0.9, 0.98]

src/types.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
Base type which defines location and version for MLFlow API service.
55
66
# Fields
7-
- `baseuri::String`: base MLFlow tracking URI, e.g. `http://localhost`
7+
- `baseuri::String`: base MLFlow tracking URI, e.g. `http://localhost:5000`
88
- `apiversion`: used API version, e.g. `2.0`
99
1010
# Examples
1111
``` julia-repl
12-
julia> mlf = MLFlow("http://localhost")
13-
MLFlow("http://localhost", 2.0)
12+
julia> mlf = MLFlow("http://localhost:5000")
13+
MLFlow("http://localhost:5000", 2.0)
1414
```
1515
"""
1616
struct MLFlow

0 commit comments

Comments
 (0)