Skip to content

Commit 74e1b10

Browse files
committed
add the trait deepproperties
1 parent 263059d commit 74e1b10

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/StatisticalTraits.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ const TRAITS = [
3333
:is_feature_dependent,
3434
:distribution_type,
3535
:iteration_parameter,
36-
:supports_training_losses
36+
:supports_training_losses,
37+
:deepproperties
3738
]
3839

3940

@@ -168,6 +169,7 @@ reports_each_observation(::Type) = false
168169
distribution_type(::Type) = missing
169170
iteration_parameter(::Type) = nothing
170171
supports_training_losses(::Type) = false
172+
deepproperties(::Type) = ()
171173

172174
# Returns a tuple, with one entry per field of `T` (the type of some
173175
# statistical model, for example). Each entry is `nothing` or defines

0 commit comments

Comments
 (0)