Skip to content

Shifu 0.2.6 Auto detect Variable Type

Zhang Pengshan (David) edited this page Jun 5, 2015 · 1 revision

Auto-detect variable type is in init step. So before stats, please configure:

Two parameters in ModelConfig.json: dataSet: autoType --- By default is false dataSet: autoTypeThreshold --- By default is 150.

To enable this feature, change autoType to true and tune threshold.

Threshold means if distinct count is less than 150, the variable will be set default to categorical.

Clone this wiki locally