AI-powered search & chat for Data / Computer Science Students

Categorical Variables

 Kaggle Learn Courses

In this tutorial, you will learn what a **categorical variable** is, along with three approaches for handling this type of data. Introduction A **categorical variable** takes only a limited number of ...

Read more at Kaggle Learn Courses

Categorical Variable Encoding Techniques

 Analytics Vidhya

A categorical variable is one that has two or more categories (values). There are two types of categorical variable, nominal and ordinal. A nominal variable has no intrinsic ordering to its…

Read more at Analytics Vidhya

Categorical Variable Regression using R

 Analytics Vidhya

Variables that classify observations into categories are categorical variables (also known as factors or qualitative variables). They have a limited number, called levels, of different value. The…

Read more at Analytics Vidhya

Categorical data

 Pandas User Guide

Categorical data This is an introduction to pandas categorical data type, including a short comparison with R’s factor . Categoricals are a pandas data type corresponding to categorical variables in s...

Read more at Pandas User Guide

Categorical Data

 Towards Data Science

We covered various feature engineering strategies for dealing with structured continuous numeric data in the previous article in this series. In this article, we will look at another type of…

Read more at Towards Data Science

How to Deal with Categorical Features for Machine Learning

 Analytics Vidhya

A categorical variable, as the name suggests, is used to represent categories or labels. For instance, a categorical variable could represent major cities in the world, the four seasons in a year, or…...

Read more at Analytics Vidhya

What are categorical variables and how to encode them?

 Towards Data Science

In this article, we will explain what categorical variables are and we will learn the difference between different types of them. We will discuss: Finally, we will learn what are the best methods for…...

Read more at Towards Data Science

Dealing with Categorical Data

 Analytics Vidhya

For Machine Learning — Multi-target Regression and Categorical Features Encoding

Read more at Analytics Vidhya

Categorical variables: How to encode them and why?

 Analytics Vidhya

Categorical variables can be encoded either through ordinal (1, 2, 3, …) or one-hot (001, 010, 100, …) encoding schemes. For categorical variables that do not have any relevant ordering present, for…

Read more at Analytics Vidhya

A guide to handling categorical variables in Python

 Towards Data Science

A guide on how to approach categorical variables for machine learning and data science purposes Continue reading on Towards Data Science

Read more at Towards Data Science

One-Hot Encoding Categorical Variables — What is it? Why is it? How is it?

 Analytics Vidhya

A brief explanation of what are categorical variables, how to deal with them using One-Hot Encoding, and how to code them in just eleven lines of code in Python. Categorical Variables contain values…

Read more at Analytics Vidhya

Encoding categorical variables as dummy variables

 Analytics Vidhya

This is a short article on the motivations and best practices in encoding categorical variables as dummy variables. Suppose you have a categorical variable such as eye color. This value could range…

Read more at Analytics Vidhya

All about Categorical Variable Encoding

 Towards Data Science

Most of the Machine learning algorithms can not handle categorical variables unless we convert them to numerical values. Many algorithm’s performances vary based on how Categorical variables are…

Read more at Towards Data Science

Encoding Categorical Data- The Right Way

 Towards AI

Photo from Unsplash by Icons8 Team Table of Contents · Types of Data ∘ Continuous Data ∘ Discrete Data ∘ Nominal Data ∘ Ordinal Data · How to Encode Categorical data? ∘ Ordinal Encoding ∘ Nominal Enco...

Read more at Towards AI

Working with Categorical Predictors

 Analytics Vidhya

A comparison between Label Encoding and Binary Encoding, discussing appropriate usage of encoding techniques. The article mainly focuses on Label Encoder and get_dummies available within Pandas in Pyt...

Read more at Analytics Vidhya

Machine learning on categorical variables

 Towards Data Science

At first blush, categorical variables aren’t that different from numerical ones. But once you start digging deeper and implement your machine learning (and preprocessing) ideas in code, you will stop…...

Read more at Towards Data Science

Handling Categorical Data in R – Part 1

 R-bloggers

This is part 1 of a series on “Handling Categorical Data in R.” Almost every data science project involves working with categorical data, and we should know how to read, store, summarize, visualize & ...

Read more at R-bloggers

Handling Categorical Data, The Right Way

 Towards Data Science

Categorical data is simply information aggregated into groups rather than being in numeric formats, such as Gender, Sex or Education Level. They are present in almost all real-life datasets, yet the…

Read more at Towards Data Science

Inference for Categorical Data

 Towards Data Science

chi-square tests; inference for categorical data; Goodness of Fit; Chi-square Distribution; Contingency Table Chi-square Test; Chi-square Test for Homogeneity; Chi-squared Test for Association;

Read more at Towards Data Science

Encoding Categorical Variables in Machine Learning

 Towards Data Science

Categorical data needs to be handled in a special way to be used as a feature in a machine learning model. Before talking about this special way, it is better to talk about what categorical data is…

Read more at Towards Data Science

Categorical Variables for Machine Learning Algorithms

 Towards Data Science

One-hot encoding in Python and on the data warehouse Photo by Burst on Unsplash While most machine learning algorithms only work with numeric values, many important real-world features are not numeri...

Read more at Towards Data Science

Handling Categorical Data in R – Part 2

 R-bloggers

This is part 2 of a series on “Handling Categorical Data in R where we are learning to read, store, summarize, visualize & manipulate categorical data..” In part 1 of this series, we understood what c...

Read more at R-bloggers

Handling Categorical Data in R – Part 4

 R-bloggers

This is part 4 of a series on “Handling Categorical Data in R” where we are learning to read, store, summarize, reshape & visualize categorical data. Below are the links to the other articles of this ...

Read more at R-bloggers

Handling Categorical Data in R – Part 3

 R-bloggers

This is part 3 of a series on “Handling Categorical Data in R where we are learning to read, store, summarize, visualize & manipulate categorical data..” In part 1 and part 2 of this series, we unders...

Read more at R-bloggers