File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ const ABSTRACT_MODEL_SUBTYPES = [
41
41
:Probabilistic ,
42
42
:Deterministic ,
43
43
:Interval ,
44
+ :ProbabilisticSet ,
44
45
:JointProbabilistic ,
45
46
:Static ,
46
47
:Annotator ,
@@ -143,6 +144,7 @@ abstract type Annotator <: Model end
143
144
abstract type Probabilistic <: Supervised end
144
145
abstract type Deterministic <: Supervised end
145
146
abstract type Interval <: Supervised end
147
+ abstract type ProbabilisticSet <: Supervised end
146
148
147
149
abstract type JointProbabilistic <: Probabilistic end
148
150
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ StatTraits.is_supervised(::Type{<:SupervisedAnnotator}) = true
27
27
StatTraits. prediction_type (:: Type{<:Deterministic} ) = :deterministic
28
28
StatTraits. prediction_type (:: Type{<:Probabilistic} ) = :probabilistic
29
29
StatTraits. prediction_type (:: Type{<:Interval} ) = :interval
30
+ StatTraits. prediction_type (:: Type{<:ProbabilisticSet} ) = :probabilistic_set
30
31
StatTraits. prediction_type (:: Type{<:ProbabilisticDetector} ) = :probabilistic
31
32
StatTraits. prediction_type (:: Type{<:DeterministicDetector} ) = :deterministic
32
33
You can’t perform that action at this time.
0 commit comments