Category Encoders: a scikit-learn-contrib package of transformers for encoding categorical data
Authors/Creators
Files
10.21105.joss.00501.pdf
Files
(402.8 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:940ea7f91b5bb0c364d3eb773a90bb1e
|
126.5 kB | Preview Download |
|
md5:d5c95163bf621e9bedf0ef530ca65e26
|
276.3 kB | Preview Download |
Additional details
Identifiers
Related works
- Describes
- 10.5281/zenodo.1157110 (DOI)
- Is reviewed by
- https://github.com/openjournals/joss-reviews/issues/501 (URL)
Dates
- Issued
-
January 22, 2018
References
- McGinnis, W., Hbghhy, Tao, W., Andrethrill, Siu, C., Davison, C., & Bollweg, N. (2018). scikit-learn-contrib/categorical-encoding: Release for zenodo (Version 1.2.6) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.1157110
- Scikit-learn: Machine learning in Python, Pedregosa, Fabian and Varoquaux, Gaël and Gramfort, Alexandre and Michel, Vincent and Thirion, Bertrand and Grisel, Olivier and Blondel, Mathieu and Prettenhofer, Peter and Weiss, Ron and Dubourg, Vincent and others, The Journal of Machine Learning Research, 12, 2825–2830, 2011, JMLR. org
- API design for machine learning software: experiences from the scikit-learn project, Buitinck, Lars and Louppe, Gilles and Blondel, Mathieu and Pedregosa, Fabian and Mueller, Andreas and Grisel, Olivier and Niculae, Vlad and Prettenhofer, Peter and Gramfort, Alexandre and Grobler, Jaques and others, arXiv preprint arXiv:1309.0238, 2013
- Jones, Eric and Oliphant, Travis and Peterson, Pearu and others, SciPy: Open source scientific tools for Python, 2001–, http://www.scipy.org/, [Online; accessed 2016-05-04]
- Weinberger, K., Dasgupta, A., Langford, J., Smola, A., & Attenberg, J. (2009). Feature hashing for large scale multitask learning. Proceedings of the 26th Annual International Conference on Machine Learning, 1113–1120. https://doi.org/10.1145/1553374.1553516
- R Library Contrast Coding Systems for categorical variables, https://stats.idre.ucla.edu/r/library/r-library-contrast-coding-systems-for-categorical-variables/, IDRE Stats
- Coding Categorical Variables (http://psych.colorado.edu/ carey/Courses/PSYC5741/handouts/Coding%20Categorical%20Variables%202006-03-03.pdf), Carey, Gregory, 2003, mar, 3
- Strategies to encode categorical variables with many categories, https://www.kaggle.com/c/caterpillar-tube-pricing/discussion/15748#143154, Caterpillar Tube Pricing | Kaggle, Zhang, Owen
- Beyond One-Hot: an exploration of categorical variables, http://www.willmcginnis.com/2015/11/29/beyond-one-hot-an-exploration-of-categorical-variables/, Will's Noise, McGinnis, William D, 2016, nov, 11
- BaseN Encoding and Grid Search in category_encoders, http://www.willmcginnis.com/2016/12/18/basen-encoding-grid-search-category_encoders/, Will's Noise, McGinnis, William D, 2016, dec, 12
- Statsmodels: Econometric and statistical modeling with python, Seabold, Skipper and Perktold, Josef, 9th Python in Science Conference, 2010
- McKinney, W. (2010). Data Structures for Statistical Computing in Python. Proceedings of the Python in Science Conference, 56–61. https://doi.org/10.25080/majora-92bf1922-00a
Citations
- Kim, Y. E., Kim, S. Y., & Kim, H. (2026). Asymmetric Feature Weighting for Diversity-Enhanced Random Forests. Symmetry, 18(1), 73. https://doi.org/10.3390/sym18010073
- Bodhidatta, P., & Sutivong, D. (2025). Understanding unnecessary stops and police use of force in NYPD Stop, Question, and Frisk with machine learning techniques. Artificial Intelligence and Law. https://doi.org/10.1007/s10506-025-09444-y
- Abaei, S., Derogar, E., & Tavakoli, O. (2025). Machine Learning-Driven Pyrolysis Optimization: Capturing Hidden Feedstock Effects on Biochar and Bio-Oil Yields. Industrial & Engineering Chemistry Research, 64(51), 24437–24460. https://doi.org/10.1021/acs.iecr.5c03390
- Liu, H., Pan, Y., & Chen, H. (2025). Representation Enhancement of Tabular Data by Embedding of Ordinal Features. 2025 International Conference on Machine Learning and Cybernetics (ICMLC), 444–449. https://doi.org/10.1109/icmlc66258.2025.11280100
- Maimone, L. L., Restrepo Ramos, F., & Jolley, J. (2025). Automated detection of machine translation use in L2 Spanish writing. Language Teaching Research. https://doi.org/10.1177/13621688251352263
- Valdez-Valenzuela, E., Kuri-Morales, A., & Gomez-Adorno, H. (2024). Statistical Evaluation of CESAMO Encoder for Pattern Preservation in Categorical Data. In Lecture Notes in Computer Science (pp. 44–52). Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-62836-8_5
- Gupta, M., Sridevi Piratla, N., Chakrapani, S. K., & Pasem, Y. (2024). Real and Fake Job Classification Using NLP and Machine Learning Techniques. In Lecture Notes in Networks and Systems (pp. 155–166). Springer Nature Singapore. https://doi.org/10.1007/978-981-99-6906-7_14
- Latif, J., Chen, N., Saleem, A., Li, K., Qin, J., Yang, H., & Jia, H. (2024). Machine learning for persistent free radicals in biochar: dual prediction of contents and types using regression and classification models. Carbon Research, 3(1). https://doi.org/10.1007/s44246-024-00125-0
- Liu, H., Qiu, Q., & Zhang, Q. (2024). End-to-end approach of multi-grained embedding of categorical features in tabular data. Information Processing & Management, 61(3), 103645. https://doi.org/10.1016/j.ipm.2024.103645
- Malambo, L., & Popescu, S. (2024). Mapping vegetation canopy height across the contiguous United States using ICESat-2 and ancillary datasets. Remote Sensing of Environment, 309, 114226. https://doi.org/10.1016/j.rse.2024.114226
- Alzraiee, A., Niswonger, R., Luukkonen, C., Larsen, J., Martin, D., Herbert, D., Buchwald, C., Dieter, C., Miller, L., Stewart, J., Houston, N., Paulinski, S., & Valseth, K. (2024). Next Generation Public Supply Water Withdrawal Estimation for the Conterminous United States Using Machine Learning and Operational Frameworks. Water Resources Research, 60(7). https://doi.org/10.1029/2023wr036632
- Zhang, Y., Wang, D., Zhao, Z., Peng, R., Han, Y., Li, J., & Zhang, R. (2024). Enhancing the quality of panel-based tumor mutation burden assessment: a comprehensive study of real-world and in-silico outcomes. Npj Precision Oncology, 8(1). https://doi.org/10.1038/s41698-024-00504-1
- Lawrence, D., Anu Barathi, B. U., & Sreeji, S. (2024). Datawindow: Python Library to Simplify the Data Science Process. 2024 IEEE International Conference on Computing, Power and Communication Technologies (IC2PCT), 1327–1332. https://doi.org/10.1109/ic2pct60090.2024.10486768
- Daraghmeh, M., Agarwal, A., & Jararweh, Y. (2023). An ensemble clustering approach for modeling hidden categorization perspectives for cloud workloads. Cluster Computing, 27(4), 4779–4803. https://doi.org/10.1007/s10586-023-04205-5
- Tanabe, S., Muraki, T., Yaginuma, K., Kim, S., & Kano, M. (2023). Greedy design space construction based on regression and latent space extraction for pharmaceutical development. International Journal of Pharmaceutics, 642, 123178. https://doi.org/10.1016/j.ijpharm.2023.123178
- Wang, R., Zhang, S., Chen, H., He, Z., Cao, G., Wang, K., Li, F., Ren, N., Xing, D., & Ho, S.-H. (2023). Enhancing Biochar-Based Nonradical Persulfate Activation Using Data-Driven Techniques. Environmental Science & Technology, 57(9), 4050–4059. https://doi.org/10.1021/acs.est.2c07073
- Sanabria-Z, J., Castillo-Martínez, I. M., González-Pérez, L. I., & Ramírez-Montoya, M. S. (2023). Complex thinking through a Transition Design-guided Ideathon: testing an AI platform on the topic of sharing economy. Frontiers in Education, 8. https://doi.org/10.3389/feduc.2023.1186731
- Valdez-Valenzuela, E., Kuri-Morales, A., & Gomez-Adorno, H. (2022). CESAMMO: Categorical Encoding by Statistical Applied Multivariable Modeling. In Lecture Notes in Computer Science (pp. 173–182). Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-19493-1_14
- Schmitt, J. M., Baumann, J. M., & Morgen, M. M. (2022). Predicting Spray Dried Dispersion Particle Size Via Machine Learning Regression Methods. Pharmaceutical Research, 39(12), 3223–3239. https://doi.org/10.1007/s11095-022-03370-3
- Bilal, M., Ali, G., Iqbal, M. W., Anwar, M., Malik, M. S. A., & Kadir, R. A. (2022). Auto-Prep: Efficient and Automated Data Preprocessing Pipeline. IEEE Access, 10, 107764–107784. https://doi.org/10.1109/access.2022.3198662
- Rashid, A. R., Ali, Z. L., & Ali Alshmeel, G. H. (2022). Developing an Artificial Intelligence based system to Detect Fraud and Corruption in Government. 2022 International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA), 1–8. https://doi.org/10.1109/hora55278.2022.9799900
- Hu, Y., Taki, B., Bajwa, W. U., Talasila, M., Mantan, M., & Aftab, S. A. (2022). A Machine Learning-Driven Analysis of Phantom E911 Calls. Proceedings of the 2022 ACM Workshop on Wireless Security and Machine Learning, 69–74. https://doi.org/10.1145/3522783.3529527
- Seca, D., & Mendes-Moreira, J. (2021). Benchmark of Encoders of Nominal Features for Regression. In Advances in Intelligent Systems and Computing (pp. 146–155). Springer International Publishing. https://doi.org/10.1007/978-3-030-72657-7_14
- Hernandez, J., & Florez, H. (2021). An Experimental Comparison of Algorithms for Nodes Clustering in a Neural Network of Caenorhabditis Elegans. In Lecture Notes in Computer Science (pp. 327–339). Springer International Publishing. https://doi.org/10.1007/978-3-030-87013-3_25
- Valdez-Valenzuela, E., Kuri-Morales, A., & Gomez-Adorno, H. (2021). Measuring the Effect of Categorical Encoders in Machine Learning Tasks Using Synthetic Data. In Lecture Notes in Computer Science (pp. 92–107). Springer International Publishing. https://doi.org/10.1007/978-3-030-89817-5_7
1–25 of 31