Skip to content

Commit

Permalink
add reporting_operations trait (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
ablaom committed Jul 14, 2022
1 parent 7bdf5c6 commit aebc95a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/StatisticalTraits.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ const TRAITS = [
:distribution_type,
:iteration_parameter,
:supports_training_losses,
:deep_properties
:deep_properties,
:reporting_operations,
]


Expand Down Expand Up @@ -182,6 +183,7 @@ distribution_type(::Type) = missing
iteration_parameter(::Type) = nothing
supports_training_losses(::Type) = false
deep_properties(::Type) = ()
reporting_operations(::Type) = ()

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

0 comments on commit aebc95a

Please sign in to comment.