f747ee321df31e87708673076595c8011f6d50ed,python/baseline/pytorch/classify/train.py,,fit,#Any#Any#Any#Any#,101

Before Change


    :return: 
    
    do_early_stopping = bool(kwargs.get("do_early_stopping", True))
    verbose = bool(kwargs.get("verbose", False))
    epochs = int(kwargs.get("epochs", 20))
    model_file = get_model_file(kwargs, "classify", "pytorch")
    if do_early_stopping:
        early_stopping_metric = kwargs.get("early_stopping_metric", "acc")

After Change


    :return: 
    
    do_early_stopping = bool(kwargs.get("do_early_stopping", True))
    verbose = kwargs.get("verbose", {"console": kwargs.get("verbose_console", False), "file": kwargs.get("verbose_file", None)})
    epochs = int(kwargs.get("epochs", 20))
    model_file = get_model_file(kwargs, "classify", "pytorch")
    if do_early_stopping:
        early_stopping_metric = kwargs.get("early_stopping_metric", "acc")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: dpressel/mead-baseline
Commit Name: f747ee321df31e87708673076595c8011f6d50ed
Time: 2018-09-04
Author: sagnik1987@gmail.com
File Name: python/baseline/pytorch/classify/train.py
Class Name:
Method Name: fit


Project Name: dpressel/mead-baseline
Commit Name: f747ee321df31e87708673076595c8011f6d50ed
Time: 2018-09-04
Author: sagnik1987@gmail.com
File Name: python/baseline/dy/classify/train.py
Class Name:
Method Name: fit


Project Name: dpressel/mead-baseline
Commit Name: f747ee321df31e87708673076595c8011f6d50ed
Time: 2018-09-04
Author: sagnik1987@gmail.com
File Name: python/baseline/tf/classify/train.py
Class Name:
Method Name: fit


Project Name: dpressel/mead-baseline
Commit Name: f747ee321df31e87708673076595c8011f6d50ed
Time: 2018-09-04
Author: sagnik1987@gmail.com
File Name: python/baseline/pytorch/classify/train.py
Class Name:
Method Name: fit