EpistasisLab / EpistasisLab/tpot

Question - Support for different types of categorical variable encoding

Open
#1,237 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
10.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Hi,

Does Tpot offer any automated way to convert categorical feature into encoded variables.

## Context of the issue

I have an input dataset with more than 100 variables where around 80% of the variables are categorical in nature.

While some variables like gender, country etc can be one-hot encoded but I also have few variables which have an inherent order in their values such rating - Very good, good, bad etc.

Is there any approach/option in Tpot which we can use to do this encoding based on the variable type.

For ex: I would like to provide the below two lists as input to the tpot auto-ml arguments.

`one-hot-list = ['Gender', 'Country']` #one-hot encoding
`ordinal_list = ['Feedback', 'Level_of_interest']` #ordinal encoding

Is there any option in the package that can do this for us?

Or is there any other efficient way to do this as I have 80 categorical columns

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.