Skip to content

Commit 5c41370

Browse files
committed
Fix links
1 parent 370b3da commit 5c41370

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

src/composition/learning_networks/nodes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ function _formula(stream, X::Node, depth, indent)
277277
if X.machine !== nothing
278278
print(stream, crind(indent + length(operation_name) - anti))
279279
printstyled(IOContext(stream, :color=>SHOW_COLOR[]),
280-
# handle(X.machine),
280+
#handle(X.machine),
281281
X.machine,
282282
bold=SHOW_COLOR[])
283283
n_args == 0 || print(stream, ", ")

src/data/datasets.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ function load_smarket()
199199
end
200200

201201
"""Load a well-known sunspot time series (table with one column).
202-
[https://www.sws.bom.gov.au/Educational/2/3/6]](https://www.sws.bom.gov.au/Educational/2/3/6)
202+
<https://www.sws.bom.gov.au/Educational/2/3/6>
203203
"""
204204
load_sunspots() = load_dataset("sunspots.csv", COERCE_SUNSPOTS)
205205

@@ -250,9 +250,10 @@ macro load_crabs()
250250
end
251251
end
252252

253-
""" Load S&P Stock Market dataset, as used in (An Introduction to
254-
Statistical Learning with applications in
255-
R)[https://rdrr.io/cran/ISLR/man/Smarket.html](https://rdrr.io/cran/ISLR/man/Smarket.html),
253+
"""
254+
Load S&P Stock Market dataset, as used in
255+
[An Introduction to Statistical Learning with applications in
256+
R](https://rdrr.io/cran/ISLR/man/Smarket.html),
256257
by Witten et al (2013), Springer-Verlag, New York."""
257258
macro load_smarket()
258259
quote

src/data/datasets_synthetic.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ Internal function to finalize the `make_*` functions.
2121
function finalize_Xy(X, y, shuffle, as_table, eltype, rng; clf::Bool=true)
2222
# Shuffle the rows if required
2323
if shuffle
24-
X, y = shuffle_rows(X, y; rng=rng)
25-
end
26-
if eltype != Float64
27-
X = convert.(eltype, X)
28-
end
29-
# return as matrix if as_table=false
24+
X, y = shuffle_rows(X, y; rng=rng)
25+
end
26+
if eltype != Float64
27+
X = convert.(eltype, X)
28+
end
29+
# return as matrix if as_table=false
3030
as_table || return X, y
3131
clf && return MLJBase.table(X), categorical(y)
3232
if length(size(y)) > 1

src/machines.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,8 +1073,7 @@ predict(predict_only_mach, X)
10731073
general purpose serialization formats, can allow for arbitrary code
10741074
execution during loading. This means it is possible for someone
10751075
to use a JLS file that looks like a serialized MLJ machine as a
1076-
[Trojan
1077-
horse](https://en.wikipedia.org/wiki/Trojan_horse_(computing)).
1076+
[Trojan horse](https://en.wikipedia.org/wiki/Trojan_horse_(computing)).
10781077
10791078
See also [`serializable`](@ref), [`machine`](@ref).
10801079

src/resampling.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,8 +536,8 @@ and the corresponding estimates, aggregated over all train/test pairs, are recor
536536
When displayed, a `PerformanceEvaluation` object includes a value under the heading
537537
`1.96*SE`, derived from the standard error of the `per_fold` entries. This value is
538538
suitable for constructing a formal 95% confidence interval for the given
539-
`measurement`. Such intervals should be interpreted with caution. See, for example, Bates
540-
et al. [(2021)](https://arxiv.org/abs/2104.00673).
539+
`measurement`. Such intervals should be interpreted with caution. See, for example, [Bates
540+
et al. (2021)](https://arxiv.org/abs/2104.00673).
541541
542542
### Fields
543543

src/show.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ function _recursive_show(stream::IO, object::MLJType, current_depth, depth)
347347
print(stream, "#"^current_depth, " ")
348348
show(stream, object)
349349
println(stream, ": ")
350-
# println(stream)
350+
# println(stream)
351351
if isempty(fields)
352352
println(stream)
353353
return
@@ -358,10 +358,10 @@ function _recursive_show(stream::IO, object::MLJType, current_depth, depth)
358358
print(stream, fld_string)
359359
if isdefined(object, fld)
360360
_show(stream, getproperty(object, fld))
361-
# println(stream)
361+
# println(stream)
362362
else
363363
println(stream, "(undefined)")
364-
# println(stream)
364+
# println(stream)
365365
end
366366
end
367367
println(stream)

0 commit comments

Comments
 (0)