简体   繁体   中英

Can I apply the variance inflation factor (VIF) for classified data?

All columns' values are class labels. For example: value "1" for feature1 is <50. Namely, all features were classified. In this case, can I apply the variance inflation factor (VIF) directly?

Dataset:
    feature1 feature2 feature3 target
        5       1         4      1
        1       1         3      0
        9       3         2      1

You have to be careful with VIFs, as they are not always calculated in the way that you understand. My suggestion is to calculate the VIF with numerical variables, in any case, you can make those variables dummies This article could give more explanation about: High VIFs are indicator (dummy) variables that represent a categorical variable with three or more categories

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM