File tree 6 files changed +7
-26
lines changed
6 files changed +7
-26
lines changed Original file line number Diff line number Diff line change 49
49
token : ${{ secrets.CODECOV_TOKEN }}
50
50
fail_ci_if_error : false
51
51
verbose : true
52
- docs :
53
- name : Documentation
54
- runs-on : ubuntu-latest
55
- steps :
56
- - uses : actions/checkout@v2
57
- - uses : julia-actions/setup-julia@v1
58
- with :
59
- version : ' 1'
60
- - uses : julia-actions/julia-buildpkg@v1
61
- - uses : julia-actions/julia-docdeploy@v1
62
- env :
63
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
64
- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
65
- - run : |
66
- julia --project=docs -e '
67
- using Documenter: DocMeta, doctest
68
- using LearnTestAPI
69
- DocMeta.setdocmeta!(LearnTestAPI, :DocTestSetup, :(using LearnTestAPI); recursive=true)
70
- doctest(LearnTestAPI)'
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ UnPack = "3a884ed6-31ef-47d7-9d2a-63182c4928ed"
25
25
Distributions = " 0.25"
26
26
InteractiveUtils = " <0.0.1, 1"
27
27
IsURL = " 0.2.0"
28
- LearnAPI = " 0.1 .0"
28
+ LearnAPI = " 0.2 .0"
29
29
LinearAlgebra = " <0.0.1, 1"
30
30
MLUtils = " 0.4"
31
31
Random = " <0.0.1, 1"
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ Tool for testing implementations of the
5
5
machine learning and statistics
6
6
7
7
[ ![ Build Status] ( https://github.com/JuliaAI/LearnTestAPI.jl/workflows/CI/badge.svg )] ( https://github.com/JuliaAI/LearnTestAPI.jl/actions )
8
- [ ![ codecov] ( https://codecov.io/gh/JuliaAI/LearnTestAPI.jl/graph/badge.svg?token=9IWT9KYINZ )]
8
+ [ ![ codecov] ( https://codecov.io/gh/JuliaAI/LearnTestAPI.jl/graph/badge.svg?token=gCIQfDtzMt )] ( https://codecov.io/gh/JuliaAI/LearnTestAPI.jl )
9
9
10
- See [ LearnAPI.jl] ( https://juliaai.github.io/LearnAPI.jl/stable/ ) for documentation.
10
+ See [ LearnAPI.jl] ( https://juliaai.github.io/LearnAPI.jl/stable/ ) for documentation.
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const FUNCTIONS3 = """
43
43
"""
44
44
const FUNCTIONS4 = """
45
45
46
- Testing that `LearnAPI.functions(learner)` exludes `:(LearnAPI.features)`, as
46
+ Testing that `LearnAPI.functions(learner)` excludes `:(LearnAPI.features)`, as
47
47
`LearnAPI.is_static(learner)` is `true`.
48
48
49
49
"""
@@ -410,7 +410,7 @@ const FIT_SCITYPE = """
410
410
"""
411
411
const TARGET_OBSERVATION_SCITYPE = """
412
412
413
- Checking that `LearnAPI.target(learner, observatoins)` satisifies the constraints
413
+ Checking that `LearnAPI.target(learner, observatoins)` satisfies the constraints
414
414
articulated by `LearnAPI.target_observation_scitype(learner)`.
415
415
416
416
"""
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ contracts against one or more data sets.
8
8
using LearnTestAPI
9
9
10
10
X = (
11
- feautre1 = [1, 2, 3],
11
+ feature1 = [1, 2, 3],
12
12
feature2 = ["a", "b", "c"],
13
13
feature3 = [10.0, 20.0, 30.0],
14
14
)
Original file line number Diff line number Diff line change 137
137
138
138
*Private method.*
139
139
140
- Replaces the expresion `lhs == rhs` with `isnear(lhs, rhs; kwargs...)` for testing a weaker
140
+ Replaces the expression `lhs == rhs` with `isnear(lhs, rhs; kwargs...)` for testing a weaker
141
141
form of equality. Here `kwargs...` are keyword arguments accepted in `isapprox(lhs, rhs;
142
142
kwargs...)`, which is called if `lhs == rhs` fails.
143
143
You can’t perform that action at this time.
0 commit comments