File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 17
17
fail-fast : false
18
18
matrix :
19
19
version :
20
- - ' 1.0'
20
+ - ' 1.6'
21
+ - ' 1.10'
21
22
- ' 1'
22
23
os :
23
24
- ubuntu-latest
29
30
with :
30
31
version : ${{ matrix.version }}
31
32
arch : ${{ matrix.arch }}
32
- - uses : actions/cache@v1
33
+ - uses : julia- actions/cache@v1
33
34
env :
34
35
cache-name : cache-artifacts
35
36
with :
Original file line number Diff line number Diff line change 1
1
name = " StatisticalTraits"
2
2
uuid = " 64bff920-2084-43da-a3e6-9bb72801c0c9"
3
3
authors = [
" Anthony D. Blaom <[email protected] >" ]
4
- version = " 3.4 .0"
4
+ version = " 3.5 .0"
5
5
6
6
[deps ]
7
7
ScientificTypesBase = " 30f210dd-8aff-4c5f-94ba-8e64358c1161"
8
8
9
9
[compat ]
10
10
ScientificTypesBase = " 1, 2, 3"
11
- julia = " ^1 "
11
+ julia = " 1.6 "
12
12
13
13
[extras ]
14
+ REPL = " 3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
14
15
SparseArrays = " 2f01184e-e22b-5df5-ae63-d93ebab69eaf"
15
16
Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
16
17
17
18
[targets ]
18
- test = [" Test" , " SparseArrays" ]
19
+ test = [" Test" , " REPL " , " SparseArrays" ]
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ const TRAITS = [
27
27
:docstring ,
28
28
:name ,
29
29
:human_name ,
30
+ :tags ,
30
31
:is_supervised ,
31
32
:prediction_type ,
32
33
:abstract_type , #
@@ -178,6 +179,7 @@ docstring(M::Type) = string(M) # some `String`
178
179
docstring (Constructor:: Function ) = Base. Docs. doc (Constructor) |> string
179
180
is_supervised (:: Type ) = false # or `true`
180
181
human_name (M:: Type ) = snakecase (name (M), delim= ' ' ) # `name` defined below
182
+ tags (:: Type ) = String[]
181
183
orientation (:: Type ) = :loss # or `:score`, `:other`
182
184
aggregation (:: Type ) = Mean ()
183
185
is_feature_dependent (:: Type ) = false
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ using Test
2
2
using StatisticalTraits
3
3
using ScientificTypesBase
4
4
import SparseArrays
5
+ using REPL
5
6
6
7
module Fruit
7
8
You can’t perform that action at this time.
0 commit comments