File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed 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 = " 2.0.1 "
4
+ version = " 2.1.0 "
5
5
6
6
[deps ]
7
7
ScientificTypesBase = " 30f210dd-8aff-4c5f-94ba-8e64358c1161"
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ const TRAITS = [
9
9
:input_scitype ,
10
10
:output_scitype ,
11
11
:target_scitype ,
12
+ :fit_data_scitype , #
13
+ :predict_scitype , #
14
+ :transform_scitype , #
15
+ :inverse_transform_scitype , #
12
16
:is_pure_julia ,
13
17
:package_name ,
14
18
:package_license ,
@@ -24,6 +28,7 @@ const TRAITS = [
24
28
:human_name ,
25
29
:is_supervised ,
26
30
:prediction_type ,
31
+ :abstract_type , #
27
32
:hyperparameters ,
28
33
:hyperparameter_types ,
29
34
:hyperparameter_ranges ,
@@ -133,6 +138,10 @@ snakecase(s::Symbol) = Symbol(snakecase(string(s)))
133
138
input_scitype (:: Type ) = Unknown
134
139
output_scitype (:: Type ) = Unknown
135
140
target_scitype (:: Type ) = Unknown
141
+ fit_data_scitype (:: Type ) = Unknown
142
+ predict_scitype (:: Type ) = Unknown
143
+ transform_scitype (:: Type ) = Unknown
144
+ inverse_transform_scitype (:: Type ) = Unknown
136
145
137
146
# The following refer to properties of the package defining a type,
138
147
# for use in, say, a registry of machine learning models. All but the
@@ -157,6 +166,7 @@ prediction_type(::Type) = :unknown
157
166
158
167
# Miscellaneous:
159
168
169
+ abstract_type (:: Type ) = Any
160
170
is_wrapper (:: Type ) = false # or `true`
161
171
supports_online (:: Type ) = false # or `true`
162
172
docstring (M:: Type ) = string (M) # some `String`
You can’t perform that action at this time.
0 commit comments