File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ const TRAITS = [
31
31
:reports_each_observation ,
32
32
:aggregation ,
33
33
:is_feature_dependent ,
34
- :distribution_type
34
+ :distribution_type ,
35
+ :iteration_parameter
35
36
]
36
37
37
38
@@ -150,7 +151,7 @@ supports_class_weights(::Type) = false
150
151
# Possible values of the following are `:deterministic`, `:probabilistic`,
151
152
# `:interval`, or `:unknown`:
152
153
153
- prediction_type (:: Type ) = :unknown
154
+ prediction_type (:: Type ) = :unknown
154
155
155
156
# Miscellaneous:
156
157
@@ -164,6 +165,7 @@ aggregation(::Type) = Mean()
164
165
is_feature_dependent (:: Type ) = false
165
166
reports_each_observation (:: Type ) = false
166
167
distribution_type (:: Type ) = missing
168
+ iteration_parameter (:: Type ) = nothing
167
169
168
170
# Returns a tuple, with one entry per field of `T` (the type of some
169
171
# statistical model, for example). Each entry is `nothing` or defines
Original file line number Diff line number Diff line change @@ -83,7 +83,8 @@ const NONCONSTANT = [:docstring,
83
83
:name ,
84
84
:human_name ,
85
85
:hyperparameters ,
86
- :hyperparameter_types ]
86
+ :hyperparameter_types ,
87
+ :iteration_parameter ]
87
88
88
89
@testset " traits with constant fall-back" begin
89
90
for trait in setdiff (StatisticalTraits. TRAITS, NONCONSTANT)
You can’t perform that action at this time.
0 commit comments