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 1717 fail-fast : false
1818 matrix :
1919 version :
20- - ' 1.0'
20+ - ' 1.6'
21+ - ' 1.10'
2122 - ' 1'
2223 os :
2324 - ubuntu-latest
2930 with :
3031 version : ${{ matrix.version }}
3132 arch : ${{ matrix.arch }}
32- - uses : actions/cache@v1
33+ - uses : julia- actions/cache@v1
3334 env :
3435 cache-name : cache-artifacts
3536 with :
Original file line number Diff line number Diff line change 11name = " StatisticalTraits"
22uuid = " 64bff920-2084-43da-a3e6-9bb72801c0c9"
33authors = [
" Anthony D. Blaom <[email protected] >" ]
4- version = " 3.4 .0"
4+ version = " 3.5 .0"
55
66[deps ]
77ScientificTypesBase = " 30f210dd-8aff-4c5f-94ba-8e64358c1161"
88
99[compat ]
1010ScientificTypesBase = " 1, 2, 3"
11- julia = " ^1 "
11+ julia = " 1.6 "
1212
1313[extras ]
14+ REPL = " 3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
1415SparseArrays = " 2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1516Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
1617
1718[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 = [
2727 :docstring ,
2828 :name ,
2929 :human_name ,
30+ :tags ,
3031 :is_supervised ,
3132 :prediction_type ,
3233 :abstract_type , #
@@ -178,6 +179,7 @@ docstring(M::Type) = string(M) # some `String`
178179docstring (Constructor:: Function ) = Base. Docs. doc (Constructor) |> string
179180is_supervised (:: Type ) = false # or `true`
180181human_name (M:: Type ) = snakecase (name (M), delim= ' ' ) # `name` defined below
182+ tags (:: Type ) = String[]
181183orientation (:: Type ) = :loss # or `:score`, `:other`
182184aggregation (:: Type ) = Mean ()
183185is_feature_dependent (:: Type ) = false
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ using Test
22using StatisticalTraits
33using ScientificTypesBase
44import SparseArrays
5+ using REPL
56
67module Fruit
78
You can’t perform that action at this time.
0 commit comments