ptype-cat: Inferring the Type and Values of Categorical Variables
Not on the map. Why?
Abstract (arXiv)
Type inference is the task of identifying the type of values in a data column and has been studied extensively in the literature. Most existing type inference methods support data types such as Boolean, date, float, integer and string. However, these methods do not consider non-Boolean categorical variables, where there are more than two possible values encoded by integers or strings. Therefore, such columns are annotated either as integer or string rather than categorical, and need to be transformed into categorical manually by the user. In this paper, we propose a probabilistic type inference method that can identify the general categorical data type (including non-Boolean variables). Additionally, we identify the possible values of each categorical variable by adapting the existing type inference method ptype. Combining these methods, we present ptype-cat which achieves better results than existing applicable solutions.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 3 of its 12 references that are in the map. First posted on arXiv 23 Nov 2021.
Builds on
3 of 12 references.
References · 3
- 2018Similarity encoding for learning with dirty categorical variablescited by 28
- 2019ptype: Probabilistic Type Inferencecited by 4
- 2016Types from data: Making structured data first-class citizens in F#cited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Robustness of AutoML on Dirty Categorical Datacited by 0
- 2026Robustness of AutoML on Dirty Categorical Data31 Jan 2026