Skip to content

Commit bd6be3d

Browse files
committed
more format tweaks
1 parent 04e703e commit bd6be3d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/metadata_utils.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,7 @@ From MLJ, the type can be imported using
219219
220220
$name = @load $name pkg=$package_name
221221
222-
Construct an instance with default hyper-parameters using the syntax
223-
`model = $name()`.
222+
Do `model = $name()` to construct an instance with default hyper-parameters.
224223
""" |> chomp
225224

226225
isempty(params) && return ret

test/metadata_utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ From MLJ, the type can be imported using
7575
FooRegressor = @load FooRegressor pkg=FooRegressorPkg
7676
```
7777
78-
Construct an instance with default hyper-parameters using the syntax
79-
`model = FooRegressor()`. Provide keyword arguments to override hyper-parameter
78+
Do `model = FooRegressor()` to construct an instance with default hyper-parameters.
79+
Provide keyword arguments to override hyper-parameter
8080
defaults, as in `FooRegressor(a=...)`.
8181
""" |> chomp |> Markdown.parse
8282

0 commit comments

Comments
 (0)