eef158f03c4ec9bf872a3e358d62a1fd21a73c35,examples/movielens_cnn.py,,,#,91
Before Change
validation = validation.to_sequence(max_sequence_length=max_sequence_length,
min_sequence_length=min_sequence_length)
with open("results.txt", "a") as output:
for hyperparams in sample_hyperparameters(random_state, 1000):
if is_saved("results.txt", hyperparams):
After Change
train.sequences = train.sequences[:100]
test = test.to_sequence(max_sequence_length=max_sequence_length,
min_sequence_length=min_sequence_length)
test.sequences = test.sequences[:100]
validation = validation.to_sequence(max_sequence_length=max_sequence_length,
min_sequence_length=min_sequence_length)
mode = sys.argv[1]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: maciejkula/spotlight
Commit Name: eef158f03c4ec9bf872a3e358d62a1fd21a73c35
Time: 2017-07-13
Author: maciej.kula@gmail.com
File Name: examples/movielens_cnn.py
Class Name:
Method Name:
Project Name: OpenNMT/OpenNMT-py
Commit Name: 35cf4f0ae774a4aa500318879a1a4d53408ac129
Time: 2020-06-02
Author: plison@nr.no
File Name: onmt/translate/translation.py
Class Name: TranslationBuilder
Method Name: _build_target_tokens
Project Name: evilsocket/pwnagotchi
Commit Name: 29a1db106ae13ec0f8b55ed94aa25e0028dc3a11
Time: 2019-09-28
Author: g0blin@hackthebox.eu
File Name: sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi/ui/display.py
Class Name: Display
Method Name: _init_display