Skip to content

Commit

Permalink
manual corrections #340
Browse files Browse the repository at this point in the history
  • Loading branch information
ablaom committed Nov 19, 2019
1 parent 48f2335 commit 3493322
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/src/common_mlj_workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ More refined searches:
```@example workflows
models() do model
matching(model, X, y) &&
model.prediction_type == :deterministic &&
model.is_pure_julia
model.prediction_type == :deterministic &&
model.is_pure_julia
end
```

Expand Down
3 changes: 2 additions & 1 deletion docs/src/mlj_cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ for "RidgeRegresssor", which is provided by multiple packages
**experimetnal!** With additional conditions:

```julia
models(matching(X, y)) do model
models() do model
matching(model, X, y)) &&
model.prediction_type == :probabilistic &&
model.is_pure_julia
end
Expand Down
5 changes: 3 additions & 2 deletions docs/src/model_search.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ for example, one executes
models(matching(X, y))
```

while the preceding search can be compactly written
while the preceding search can also be written

```julia
models(matching(X, y)) do model
models() do model
matching(model, X, y) &&
model.prediction_type == :probabilistic
end
```
Expand Down

0 comments on commit 3493322

Please sign in to comment.