diff --git a/Project.toml b/Project.toml index a7933b1..5f05d50 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "StatisticalTraits" uuid = "64bff920-2084-43da-a3e6-9bb72801c0c9" authors = ["Anthony D. Blaom "] -version = "3.1.0" +version = "3.2.0" [deps] ScientificTypesBase = "30f210dd-8aff-4c5f-94ba-8e64358c1161" diff --git a/src/StatisticalTraits.jl b/src/StatisticalTraits.jl index 08ec220..f6df0e7 100644 --- a/src/StatisticalTraits.jl +++ b/src/StatisticalTraits.jl @@ -40,7 +40,8 @@ const TRAITS = [ :distribution_type, :iteration_parameter, :supports_training_losses, - :deep_properties + :deep_properties, + :reporting_operations, ] @@ -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