Skip to content

Variable Transform in Shifu

Zhang Pengshan (David) edited this page Nov 30, 2016 · 2 revisions

Transform Types in Shifu

Such transform types are useful in Neural Network and Logistic Regression models.

Transform Types

Woe Transform

  • Woe transform is used to transform numerical values into discrete values;
  • 'ln' function in woe implicit some normalization.
  • Better model stability after woe transform.

How to Normalize Categorical Features

  • One-Hot Encoding is a good choice, while so far it is not supported in Shifu
  • In Shifu, positive rate is used for each categorical feature.
  • In tree models, no need transform categorical features to numerical.
Clone this wiki locally