Skip to content

Commit 8a16d33

Browse files
committed
fix a doctest broken by removal of type piracy in MLJBase.show
1 parent c9d4602 commit 8a16d33

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/src/index.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,10 @@ We can view the important features used by our model by inspecting the `fitted_p
104104
object.
105105
```jldoctest
106106
julia> p = fitted_params(mach)
107-
(features_left = [:x4, :x2, :x1, :x5, :x3],
108-
model_fitresult = (forest = Ensemble of Decision Trees
109-
Trees: 100
110-
Avg Leaves: 25.3
111-
Avg Depth: 8.01,),)
107+
(features_left = [:x4, :x2, :x1, :x5, :x3], model_fitresult = (forest = Ensemble of Decision Trees
108+
│ Trees: 100
109+
│ Avg Leaves: 25.3
110+
│ Avg Depth: 8.01,))
112111
113112
julia> p.features_left
114113
5-element Vector{Symbol}:
@@ -180,4 +179,4 @@ For resampling methods different from cross-validation, and for other
180179
[MLJ Documentation](https://juliaai.github.io/MLJ.jl/dev/)
181180
```@meta
182181
DocTestSetup = nothing
183-
```
182+
```

0 commit comments

Comments
 (0)