File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -129,22 +129,14 @@ same size as the array.
129
129
130
130
# # TYPES - PLAIN AND ARRAY
131
131
132
- # extend Ditributions type hiearchy to account for non-euclidean
133
- # supports:
134
- abstract type Categorical{S<: Finite } <: Dist.ValueSupport end
135
-
136
- # not exported:
137
- const _UnivariateFinite_{S} =
138
- Dist. Distribution{Dist. Univariate,Categorical{S}}
139
-
140
132
# R - reference type <: Unsigned
141
133
# V - type of class labels (eg, Char in `categorical(['a', 'b'])`)
142
134
# P - raw probability type
143
135
# S - scitype of samples
144
136
145
137
# Note that the keys of `prob_given_ref` need not exhaust all the
146
138
# refs of all classes but will be ordered (LittleDicts preserve order)
147
- struct UnivariateFinite{S,V,R,P} <: _UnivariateFinite_{S}
139
+ struct UnivariateFinite{S,V,R,P}
148
140
scitype:: Type{S}
149
141
decoder:: CategoricalDecoder{V,R}
150
142
prob_given_ref:: LittleDict{R,P,Vector{R}, Vector{P}}
You can’t perform that action at this time.
0 commit comments