eef158f03c4ec9bf872a3e358d62a1fd21a73c35,examples/movielens_cnn.py,,,#,91

Before Change


                print("Already computed")
                continue

            result = evaluate_model(hyperparams,
                                    train,
                                    test,
                                    random_state)
            output.write(json.dumps(result) + "\n")
            output.flush()

After Change


                                                   random_state=random_state)
    train = train.to_sequence(max_sequence_length=max_sequence_length,
                              min_sequence_length=min_sequence_length)
    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,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

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: maciejkula/spotlight
Commit Name: bc51dbc0c56f68ed30857755026633f78eef1ae8
Time: 2017-08-20
Author: maciej.kula@gmail.com
File Name: examples/bloom_embeddings/example.py
Class Name:
Method Name: run


Project Name: tensorflow/minigo
Commit Name: 2dd2efb5475cb42a21f0dacaef786c89869bf2de
Time: 2019-12-13
Author: tmadams@google.com
File Name: ml_perf/eval_models.py
Class Name:
Method Name: main