1a5ca9674cf8e8089534fa6f1cc642378f4c3572,submission_criteria/common.py,,update_loglosses,#Any#,100

Before Change



    // Get the truth data
    public_targets_db = connect_to_public_targets_db()
    query = "SELECT id, {} FROM tournament_historical_encrypted WHERE data_type = "validation" AND version = 3;".format(TARGETS[tournament])
    validation_data = pd.read_sql(query, public_targets_db)
    validation_data.sort_values("id", inplace=True)
    test_data = pd.read_sql("SELECT id, {} FROM tournament_historical_encrypted WHERE data_type = "test" AND version = 3;".format(TARGETS[tournament]), public_targets_db)

After Change



    // Get the truth data
    validation_data = tc.get_validation_data(s3, S3_INPUT_DATA_BUCKET, dataset_path, INPUT_DATA_PATH)
    test_data = tc.get_test_data(s3, S3_INPUT_DATA_BUCKET, dataset_path, INPUT_DATA_PATH)
    validation_data.sort_values("id", inplace=True)
    test_data.sort_values("id", inplace=True)

    // Calculate logloss
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: numerai/submission-criteria
Commit Name: 1a5ca9674cf8e8089534fa6f1cc642378f4c3572
Time: 2018-11-09
Author: anson@numer.ai
File Name: submission_criteria/common.py
Class Name:
Method Name: update_loglosses


Project Name: thoughtworksarts/EmoPy
Commit Name: 7b6fd231d17cd1fd88c1fc163a33f1049d63e7b0
Time: 2018-04-26
Author: angelica.perez37@gmail.com
File Name: examples/timedelay_conv_model.py
Class Name:
Method Name:


Project Name: thoughtworksarts/EmoPy
Commit Name: 7b6fd231d17cd1fd88c1fc163a33f1049d63e7b0
Time: 2018-04-26
Author: angelica.perez37@gmail.com
File Name: examples/convolutional_lstm_model.py
Class Name:
Method Name: