def test_woe_transformer_export(): transer = WOETransformer().fit(df, target) t = transer.export() assert t['C'][1] == 0
def test_woe_transformer_export_single(): transer = WOETransformer().fit(feature, target) t = transer.export() assert t[DEFAULT_NAME][5] == 0.3938235330926786