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

Before Change


                                              validation=False, n_users=args.num_users,
                                              n_jobs=args.workers, supervised=False)

    print("Finished computing features after %s seconds" % (time.time() - start_time))

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

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_)

    //print("--- %s seconds ---" % (time.time() - start_time))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

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: AxeldeRomblay/MLBox
Commit Name: 8768184ae39b420292acc25eda9ae43c3af0752d
Time: 2017-06-20
Author: axelderomblay@gmail.com
File Name: python-package/mlbox/model/supervised/regression/stacking_regressor.py
Class Name: StackingRegressor
Method Name: fit_transform


Project Name: fperazzi/proSR
Commit Name: d496c35ebfd6925f068bbfe0f2b27ea71171ea5a
Time: 2018-08-01
Author: yifanwang2010@gmail.com
File Name: train.py
Class Name:
Method Name: main