3179c22ca9e764350420cfcd78b6de2f7ee721b2,tests/integration_tests/test_neuropod.py,,test_neuropod,#Any#,36
Before Change
map(lambda x: str2bool(x), neuropod_pred))
if output_feature_type in {SEQUENCE, TEXT, SET}:
neuropod_pred = list(
map(lambda x: x.split(), neuropod_pred) )
original_pred = original_predictions_df[
output_feature_name + "_predictions"].tolist()
After Change
neuropod_pred = preds[
output_feature_name + "_predictions"].tolist()
if output_feature_type == BINARY:
neuropod_pred = [ str2bool(x) for x in neuropod_pred]
if output_feature_type in {SEQUENCE, TEXT, SET}:
neuropod_pred = [ x.split() for x in neuropod_pred]
original_pred = original_predictions_df[
output_feature_name + "_predictions"].tolist()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: uber/ludwig
Commit Name: 3179c22ca9e764350420cfcd78b6de2f7ee721b2
Time: 2020-12-09
Author: milyiyo@users.noreply.github.com
File Name: tests/integration_tests/test_neuropod.py
Class Name:
Method Name: test_neuropod
Project Name: sobhe/hazm
Commit Name: 12779ec8b031b846f740f265f1e5139a4e93ce35
Time: 2017-09-26
Author: az.nourian@gmail.com
File Name: hazm/utils.py
Class Name:
Method Name: words_list
Project Name: DistrictDataLabs/yellowbrick
Commit Name: fdbed553a6c007c4c97ebfa6d868411f1fc93190
Time: 2018-08-24
Author: lwgray@gmail.com
File Name: tests/test_text/test_dispersion.py
Class Name: DispersionPlotTests
Method Name: test_dispersionplot_generator_input