Skip to content

Commit 473665e

Browse files
authored
Merge pull request #11 from JuliaAI/dev
For a 0.2.0 release
2 parents add7900 + 29c26c3 commit 473665e

File tree

14 files changed

+2151
-153
lines changed

14 files changed

+2151
-153
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Manifest.toml
1+
/Manifest.toml
22
/docs/Manifest.toml
33
/test/Manifest.toml
44
.ipynb_checkpoints

Project.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
name = "MLJTestIntegration"
22
uuid = "697918b4-fdc1-4f9e-8ff9-929724cee270"
33
authors = ["Anthony D. Blaom <[email protected]>"]
4-
version = "0.1.0"
4+
version = "0.2.0"
55

66
[deps]
77
MLJ = "add582a8-e3ab-11e8-2d5e-e98b27df1bc7"
8+
MLJBase = "a7f614a8-145f-11e9-1d2a-a57a1082229d"
9+
MLJTuning = "03970b2e-30c4-11ea-3135-d1576263f10f"
10+
NearestNeighborModels = "636a865e-7cf4-491e-846c-de09b730eb36"
811
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
12+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
913

1014
[compat]
1115
MLJ = "0.18"

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Pkg.add("MLJTestIntegration")
1515

1616
# Usage
1717

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`:
2121

2222
```julia
2323
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
2626

2727
For detailed documentation, run `using MLJTestIntegration; @doc MLJTestIntegration.test`.
2828

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+
2939

3040
# Examples
3141

@@ -60,11 +70,11 @@ regressors = MLJTestIntegration.MLJ.models(matching(X, y)) do m
6070
end
6171

6272
# 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)
6474

6575
# comprehensive tests:
6676
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)
6878

6979
summary |> DataFrame
7080
```

0 commit comments

Comments
 (0)