@@ -51,11 +51,17 @@ ScientificTimeType
51
51
Sampleable{Ω}
52
52
└─ Density{Ω}
53
53
54
+ Annotated{S}
55
+
56
+ AnnotationFor{S}
57
+
58
+ Multiset{S}
59
+
54
60
Table{K}
55
61
56
62
Textual
57
63
58
- PersistenceDiagram
64
+ ManifoldPoint{MT}
59
65
60
66
Unknown
61
67
```
@@ -109,26 +115,32 @@ typically much slower than calling `scitype` or `elscitype`.
109
115
The table below summarizes the default convention for representing
110
116
scientific types:
111
117
112
- Type ` T ` | ` scitype(x) ` for ` x::T ` | package required
118
+ Type ` T ` | ` scitype(x) ` for ` x::T ` | package/module required
113
119
:-------------- | :-------------------------------- | :------------------------
114
120
` Missing ` | ` Missing ` |
115
121
` Nothing ` | ` Nothing ` |
116
122
` AbstractFloat ` | ` Continuous ` |
117
123
` Integer ` | ` Count ` |
118
124
` String ` | ` Textual ` |
119
- ` CategoricalValue ` | ` Multiclass{N} ` where ` N = nlevels(x) ` , provided ` x.pool.ordered == false ` | CategoricalArrays
120
- ` CategoricalString ` | ` Multiclass{N} ` where ` N = nlevels(x) ` , provided ` x.pool.ordered == false ` | CategoricalArrays
121
- ` CategoricalValue ` | ` OrderedFactor{N} ` where ` N = nlevels(x) ` , provided ` x.pool.ordered == true ` | CategoricalArrays
122
- ` CategoricalString ` | ` OrderedFactor{N} ` where ` N = nlevels(x) ` provided ` x.pool.ordered == true ` | CategoricalArrays
125
+ ` CategoricalValue ` | ` Multiclass{N} ` where ` N = nlevels(x) ` , provided ` x.pool.ordered == false ` | CategoricalArrays.jl
126
+ ` CategoricalString ` | ` Multiclass{N} ` where ` N = nlevels(x) ` , provided ` x.pool.ordered == false ` | CategoricalArrays.jl
127
+ ` CategoricalValue ` | ` OrderedFactor{N} ` where ` N = nlevels(x) ` , provided ` x.pool.ordered == true ` | CategoricalArrays.jl
128
+ ` CategoricalString ` | ` OrderedFactor{N} ` where ` N = nlevels(x) ` provided ` x.pool.ordered == true ` | CategoricalArrays.jl
123
129
` Date ` | ` ScientificDate ` | Dates
124
130
` Time ` | ` ScientificTime ` | Dates
125
131
` DateTime ` | ` ScientificDateTime ` | Dates
126
132
` Distributions.Sampleable{F,S} ` | ` Sampleable{Ω} ` where ` Ω ` is scitype of sample space, according to ` {F,S} `
127
133
` Distributions.Distributions{F,S} ` | ` Density{Ω} ` where ` Ω ` is scitype of sample space, according to ` {F,S} `
128
- ` AbstractArray{<:Gray,2} ` | ` GrayImage{W,H} ` where ` (W, H) = size(x) ` | ColorTypes
129
- ` AbstractArrray{<:AbstractRGB,2} ` | ` ColorImage{W,H} ` where ` (W, H) = size(x) ` | ColorTypes
134
+ ` AbstractArray{<:Gray,2} ` | ` GrayImage{W,H} ` where ` (W, H) = size(x) ` | ColorTypes.jl
135
+ ` AbstractArrray{<:AbstractRGB,2} ` | ` ColorImage{W,H} ` where ` (W, H) = size(x) ` | ColorTypes.jl
130
136
` PersistenceDiagram ` | ` PersistenceDiagram ` | PersistenceDiagramsBase
131
- any table type ` T ` supported by Tables.jl | ` Table{K} ` where ` K=Union{column_scitypes...} ` | Tables
137
+ any table type ` T ` supported by Tables.jl | ` Table{K} ` where ` K=Union{column_scitypes...} ` | Tables.jl
138
+ † ` CorpusLoaders.TaggedWord ` | ` Annotated{Textual} ` | CorpusLoaders.jl
139
+ † ` CorpusLoaders.Document{AbstractVector{Q}} ` | ` Annotated{AbstractVector{Scitype(Q)}} ` | CorpusLoaders.jl
140
+ † ` AbstractDict{<:AbstractString,<:Integer} ` | ` Multiset{Textual} ` |
141
+ † ` AbstractDict{<:TaggedWord,<:Integer} ` | ` Multiset{Annotated{Textual}} ` | CorpusLoaders.jl
142
+
143
+ † * Experimental* and subject to change in new minor or patch release
132
144
133
145
Here ` nlevels(x) = length(levels(x.pool)) ` .
134
146
0 commit comments