c062e643beace53ae90a627fd4e2490f5a8e8d5d,code2vec.py,,,#,19

Before Change


        if eval_results is not None:
            results, precision, recall, f1 = eval_results
            print(results)
            print("Precision: " + str(precision) + ", recall: " + str(recall) + ", F1: " + str(f1))
    if args.predict:
        predictor = InteractivePredictor(config, model)
        predictor.predict()
    model.close_session()

After Change


                        help="if specified and loading a trained model, release the loaded model for a lower model "
                             "size.")
    parser.add_argument("--predict", action="store_true")
    parser.add_argument("-fw", "--framework", dest="dl_framework", choices=["keras", "tensorflow"], default="keras",
                        help="deep learning framework to use.")
    args = parser.parse_args()

    config = Config.get_default_config(args)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: tech-srl/code2vec
Commit Name: c062e643beace53ae90a627fd4e2490f5a8e8d5d
Time: 2019-04-03
Author: eladnah@gmail.com
File Name: code2vec.py
Class Name:
Method Name:


Project Name: dPys/PyNets
Commit Name: 57357d4cca5527539b2813a9c4b4931b814cfe39
Time: 2017-11-07
Author: dpisner@utexas.edu
File Name: pynets/pynets_run.py
Class Name:
Method Name:


Project Name: dPys/PyNets
Commit Name: 072f312664a589c1ba7425f074b652082b25337d
Time: 2017-11-05
Author: dpisner@utexas.edu
File Name: pynets/pynets_run.py
Class Name:
Method Name: