1c5717025d6c557307e307a2452b6e39b6e1f4f5,entity2rec/mml_recommender.py,,,#,55

Before Change



    evaluat.evaluate(mml_rec, x_test, y_test, qids_test)  // evaluates the recommender on the test set

    print("--- %s seconds ---" % (time.time() - start_time))

After Change



    scores = evaluat.evaluate(mml_rec, x_test, y_test, qids_test, items_test, verbose=False)  // evaluates the recommender on the test set

    scores_ = [score for metric, score in scores]

    print(scores_)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: D2KLab/entity2rec
Commit Name: 1c5717025d6c557307e307a2452b6e39b6e1f4f5
Time: 2018-04-30
Author: cixty@garoupe.eurecom.fr
File Name: entity2rec/mml_recommender.py
Class Name:
Method Name:


Project Name: pytorch/examples
Commit Name: 01d70cd14b2bd9f1754b94e03c3555ec412a3845
Time: 2020-02-12
Author: rvarm1@fb.com
File Name: distributed/rpc/parameter_server/rpc_param_server.py
Class Name:
Method Name:


Project Name: avinashpaliwal/Super-SloMo
Commit Name: 0306a7cb6680a9e9af59c0835c93453b2e6df7a9
Time: 2019-02-05
Author: nauman.mustafa@packagex.app
File Name: eval.py
Class Name:
Method Name: