File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,14 @@ version = "3.4.0"
7
7
ScientificTypesBase = " 30f210dd-8aff-4c5f-94ba-8e64358c1161"
8
8
9
9
[compat ]
10
+ REPL = " 1.11.0"
10
11
ScientificTypesBase = " 1, 2, 3"
11
12
julia = " ^1"
12
13
13
14
[extras ]
15
+ REPL = " 3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
14
16
SparseArrays = " 2f01184e-e22b-5df5-ae63-d93ebab69eaf"
15
17
Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
16
18
17
19
[targets ]
18
- test = [" Test" , " SparseArrays" ]
20
+ 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