Questions tagged [target-encoding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Binary classification or Single-class classification for data with Boolean label

In supervised learning. For simple prediction/classification problems like Will it rain tomorrow? or more serious one like disease diagnosis I often encountering ...
0
votes
0answers
14 views

why does tox21 loads as having 12 classes in pytorch geometric?

Why is the tox21 dataset loaded with predefined 12 classes when it should be binary classification, thus two classes? Code sampled modified: ...
0
votes
1answer
92 views

why should i do target encoding within cv loop?

i wish to use target encoding, using the category encoders sklearn library. I don't really understand why it is necessary to include this as a step in a sklearn pipeline WITHIN the cross validation ...
-1
votes
1answer
33 views

How Should I deal with my imbalanced binary target [closed]

I am trying to model my data with Python and i am having concerns about my binary target variable, because it has 90% cases falling in 0 and 10% of the cases falling in 1. I have tried upsampling my ...
1
vote
1answer
45 views

Interpreting decision tree results after target encoding

I am not sure how to interpret the results of my decision tree after I had used target encoding, could someone clarify? The example below doesn't need target encoding just for explanation of my ...
3
votes
1answer
507 views

Target encoding with KFold cross-validation - how to transform test set?

Let's say I have a categorical feature (cat): ...
0
votes
1answer
28 views

Logistic Regression Multi-level Independent variables

im trying to study logistic regression, when i did the target variable with all features, i had the summary showing the p-values as usual, but one for the features has 60 level, another feature has 13 ...
2
votes
1answer
162 views

Categories with the same mean in target encoding

While doing target encoding it can happen that two categories have the same target mean. This is bad because there will be no difference in the new feature in it and we will lose some information. ...