2d2269254f636b4c60851bb474b654b4359dc47c,numerox/tests/test_prediction.py,,test_prediction_performance_df,#,89

Before Change



    p = nx.Prediction()
    p.merge_arrays(d.ids, d.y, "model1")
    p.merge_arrays(d.ids, d.y, "model2")
    p.merge_arrays(d.ids, d.y, "model3")

    df, info = p.performance_df(d)

After Change


    d = d["train"] + d["validation"]

    p = nx.Prediction()
    p = p.merge_arrays(d.ids, d.y, "model1")
    p = p.merge_arrays(d.ids, d.y, "model2")
    p = p.merge_arrays(d.ids, d.y, "model3")

    df, info = p.performance_df(d)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: kwgoodman/numerox
Commit Name: 2d2269254f636b4c60851bb474b654b4359dc47c
Time: 2018-01-08
Author: kwgoodman@gmail.com
File Name: numerox/tests/test_prediction.py
Class Name:
Method Name: test_prediction_performance_df


Project Name: kwgoodman/numerox
Commit Name: 2d2269254f636b4c60851bb474b654b4359dc47c
Time: 2018-01-08
Author: kwgoodman@gmail.com
File Name: numerox/tests/test_prediction.py
Class Name:
Method Name: test_prediction_dominance_df


Project Name: kwgoodman/numerox
Commit Name: 2d2269254f636b4c60851bb474b654b4359dc47c
Time: 2018-01-08
Author: kwgoodman@gmail.com
File Name: numerox/tests/test_prediction.py
Class Name:
Method Name: test_data_properties