84b715a9926347b4d7c62448681968cb94cce9c1,numerox/run.py,,run,#,22

Before Change


    
    if tournament is None:
        p = nx.Prediction()
        for t_number, t_name in nx.tournament_iter():
            splitter.reset()
            p += run_one(model, splitter, t_name, name=name,
                         verbosity=verbosity)
    else:
        splitter.reset()
        p = run_one(model, splitter, tournament, name=name,
                    verbosity=verbosity)

After Change



    
    models = make_model_list(model)
    if tournament is None:
        tournaments = nx.tournament_all()
    else:
        tournaments = [tournament]
    p = nx.Prediction()
    for m in models:
        for t in tournaments:
            splitter.reset()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: kwgoodman/numerox
Commit Name: 84b715a9926347b4d7c62448681968cb94cce9c1
Time: 2018-09-14
Author: kwgoodman@gmail.com
File Name: numerox/run.py
Class Name:
Method Name: run


Project Name: pytorch/examples
Commit Name: ca907342507c1139696f542de0a3351d7a382eee
Time: 2017-12-04
Author: sgross@fb.com
File Name: reinforcement_learning/actor_critic.py
Class Name:
Method Name:


Project Name: pytorch/examples
Commit Name: ca907342507c1139696f542de0a3351d7a382eee
Time: 2017-12-04
Author: sgross@fb.com
File Name: reinforcement_learning/reinforce.py
Class Name:
Method Name: