Questions tagged [discretization]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

Categorical encoding after discretization

When a variable is discretized it is converted to a categorical variable. This new variable should be encoded back to numeric using label encoding or one hot encoding. I mean, sklearn by default (...
0
votes
0answers
9 views

Order of discretization and variable selection

I want to test the effects of discretization in a dataset. The problem is that it has too many variables, so I have to do feature selection. My question is if I should do feature selection before or ...
0
votes
1answer
16 views

When to use equal frequency binning and when equal width binning?

When transforming numerical variables into categorical variables I'm not aware of when should I use equal frequency binning and when equal width binning. Seems that each of them has their own ...
3
votes
2answers
200 views

A data-independant transformation to discretize a range of values non-uniformly

I am sure this is trivial, but I am looking for a transformation that nonuniformly discretizes all values of a range into several bins. The bins should be variant and I'd like them to be smaller ...
0
votes
1answer
44 views

Best way to split real valued imbalanced distribution into finite number of classes

What I'm trying to do is adapting this research paper to another problem. In short: the authors split price variations of S&P500 index into four different classes. Then they train a Random Forest ...