Skip to content

Commit 915f3a3

Browse files
authored
Merge pull request #184 from alan-turing-institute/dev
Add remaining doc strings for measures; For a 0.11.3 release
2 parents 543ee13 + a3bcad3 commit 915f3a3

File tree

4 files changed

+261
-86
lines changed

4 files changed

+261
-86
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MLJBase"
22
uuid = "a7f614a8-145f-11e9-1d2a-a57a1082229d"
33
authors = ["Anthony D. Blaom <[email protected]>"]
4-
version = "0.11.2"
4+
version = "0.11.3"
55

66
[deps]
77
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"

src/composition/pipelines.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ an `inverse` must also be given:
325325
performed on the output of the *final* model or static
326326
transformation in the pipeline.
327327
328-
See also: [@from_network](@ref)
328+
See also: [`@from_network`](@ref)
329329
330330
"""
331331
macro pipeline(exs...)

src/hyperparam/one_dimensional_ranges.jl

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@ hyperparameter `:atom` of `model`.
4747
r = range(model, :hyper; upper=nothing, lower=nothing,
4848
scale=nothing, values=nothing)
4949
50-
Assuming `values == nothing`, this defines a `NumericRange` object for
51-
a `Real` field `hyper` of `model`. Note that `r` is not directly
52-
iteratable but `iterator(r, n)` iterates over `n` values controlled by
53-
the various parameters (see more at [iterator](@ref). The supported
54-
scales are `:linear`,` :log`, `:logminus`, `:log10`, `:log2`, or a
55-
function (see below). Values for `Integer` types are rounded (with
56-
duplicate values removed, resulting in possibly less than `n` values).
50+
Assuming `values` is not specified, this defines a `NumericRange`
51+
object for a `Real` field `hyper` of `model`. Note that `r` is not
52+
directly iteratable but `iterator(r, n)` iterates over `n` values
53+
controlled by the various parameters (see more at [`iterator`](@ref)).
54+
The supported scales are `:linear`,` :log`, `:logminus`, `:log10`,
55+
`:log2`, or a function (see below).
56+
57+
The iterator values for `Integer` types are rounded (with duplicate
58+
values removed, resulting in possibly less than `n` values).
5759
5860
If `scale` is unspecified, it is set to `:linear`, `:log`,
5961
`:logminus`, or `:linear`, according to whether the interval `(lower,

0 commit comments

Comments
 (0)