Showing posts with the label categorical-data

[FIXED] OneHotEncoder categorical_features deprecated, how to transform specific column

Issue I need to transform the independent field from string to arithmetical notation. I am using On…

[FIXED] Ordinal Encoding or One-Hot-Encoding

Issue IF we are not sure about the nature of categorical features like whether they are nominal or …

[FIXED] How to use one hot encoded data in Keras input

Issue I'm trying to build a model that is using a one-hot encoded input next to a numeric featu…

[FIXED] Decide which category to drop in pandas get_dummies()

Issue Let's say I have the following df: data = [{'c1':a, 'c2':x}, {'c1…

[FIXED] How can I fix type error for One hot encoder

Issue My problem is that I need to change some sets of categorized columns into numbers for machine…

[FIXED] Does sklearn algorithm assume ordinal integer values as continuous features or categorical features?

Issue Assume that in a machine learning problem, there are several categorical features in dataset.…

[FIXED] randomForest in R and factor variables

Issue I have a dataset with some continuous variables, some ordinal variables and some categorical …

[FIXED] What's the right way to one-hot-encode a categorical tuple in Tensorflow/Keras?

Issue I want to create a neural network that takes a categorical tuple as input and passes its one-…

[FIXED] De-duplicate some columns while doing a "hierarchical" one-hot encoding

Issue I have a pandas dataframe ( df ) with columns A , B , C , and D . I have situation in which I…