5e20a1bde66c013df6cc45850ac76356c40f8e4b,mindsdb/libs/helpers/probabilistic_validator.py,,,#,162

Before Change



    print(feature_rows)

    pbv = ProbabilisticValidator(buckets=["1", "2", "3", "4", "5"], data_type=DATA_TYPES.CATEGORICAL)

    for i in range(len(feature_rows)):
        pbv.register_observation(feature_rows[i], values[i], predictions[i])

After Change



    print(feature_rows)

    pbv = ProbabilisticValidator(col_stats={"percentage_buckets":[1,2,3,4,5], "data_type":DATA_TYPES.CATEGORICAL, "data_subtype": ""})

    for i in range(len(feature_rows)):
        pbv.register_observation(feature_rows[i], values[i], predictions[i])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mindsdb/mindsdb
Commit Name: 5e20a1bde66c013df6cc45850ac76356c40f8e4b
Time: 2019-08-15
Author: george@cerebralab.com
File Name: mindsdb/libs/helpers/probabilistic_validator.py
Class Name:
Method Name:


Project Name: mindsdb/mindsdb
Commit Name: 3f287da4043be92ee604ac0a49982dbae552064d
Time: 2019-08-13
Author: george@cerebralab.com
File Name: mindsdb/libs/helpers/probabilistic_validator.py
Class Name:
Method Name:


Project Name: mindsdb/mindsdb
Commit Name: 3fa25407f34d5c5afa91a36212001eeb520d5838
Time: 2019-02-11
Author: george@cerebralab.com
File Name: mindsdb/libs/ml_models/probabilistic_validator.py
Class Name:
Method Name: