@@ -15,9 +15,9 @@ Pkg.add("MLJTestIntegration")
15
15
16
16
# Usage
17
17
18
- This package provides a single method for testing a collection of
19
- ` models ` (types or named tuples with keys ` :name ` and ` :package_name ` )
20
- using the specified training ` data ` :
18
+ This package provides a method for testing a collection of ` models `
19
+ (types or named tuples with keys ` :name ` and ` :package_name ` ) using
20
+ the specified training ` data ` :
21
21
22
22
``` julia
23
23
MLJTestIntegration. test (models, data... ; mod= Main, level= 2 , throw= false , verbosity= 1 )
@@ -26,6 +26,16 @@ MLJTestIntegration.test(models, data...; mod=Main, level=2, throw=false, verbosi
26
26
27
27
For detailed documentation, run ` using MLJTestIntegration; @doc MLJTestIntegration.test ` .
28
28
29
+ For convenience, a number of specializations of this method are also provided:
30
+
31
+ - ` test_single_target_classifiers `
32
+ - ` test_single_target_regressors `
33
+ - ` test_single_target_count_regressors `
34
+ - ` test_continuous_table_transformers `
35
+
36
+ Query the document strings for details, or see
37
+ [ examples/bigtest/notebook.jl] ( examples/bigtest/notebook.jl ) .
38
+
29
39
30
40
# Examples
31
41
@@ -60,11 +70,11 @@ regressors = MLJTestIntegration.MLJ.models(matching(X, y)) do m
60
70
end
61
71
62
72
# to test code loading *and* load code:
63
- MLJTestIntegration. test (regressors, X, y, verbosity= 1 , mod= @__MODULE__ , level= 1 )
73
+ MLJTestIntegration. test (regressors, X, y, verbosity= 1 , mod= @__MODULE__ , level= 4 )
64
74
65
75
# comprehensive tests:
66
76
failures, summary =
67
- MLJTestIntegration. test (regressors, X, y, verbosity= 3 , mod= @__MODULE__ , level= 1 )
77
+ MLJTestIntegration. test (regressors, X, y, verbosity= 3 , mod= @__MODULE__ , level= 4 )
68
78
69
79
summary |> DataFrame
70
80
```
0 commit comments