diff --git a/src/resampling.jl b/src/resampling.jl index 404cde5a..a38b9bd4 100644 --- a/src/resampling.jl +++ b/src/resampling.jl @@ -476,6 +476,9 @@ struct. - `measure`: vector of measures (metrics) used to evaluate performance +- `model`: model used to create the performance evaluation. In the case a + tuning model, this is the best model found. + - `measurement`: vector of measurements - one for each element of `measure` - aggregating the performance measurements over all train/test pairs (folds). The aggregation method applied for a given diff --git a/test/resampling.jl b/test/resampling.jl index c170039a..2a0c5a82 100644 --- a/test/resampling.jl +++ b/test/resampling.jl @@ -794,6 +794,9 @@ end print(show_text) docstring_text = string(@doc(PerformanceEvaluation)) for fieldname in fieldnames(PerformanceEvaluation) + if fieldname == :model + continue + end @test contains(show_text, string(fieldname)) # string(text::Markdown.MD) converts `-` list items to `*`. @test contains(docstring_text, " * `$fieldname`")