56ff84927e9d19806b057ea11e43ad67598edd89,matchzoo/models/parameter_readme_generator.py,,,#,33

Before Change


    full = "// MatchZoo Model Hyper-parameters Reference \n\n"
    full += "//// Shared Parameters \n\n"
    shared = matchzoo.engine.BaseModel.get_default_params()
    full += _make_table(shared)

    for m in matchzoo.models.list_available():
        m = m()
        full += "//// " + str(m.__class__.__name__) + "\n\n"
        full += _make_table([p for p in m.get_default_params()
                             if p.name not in shared.keys()])

    file_path = Path(__file__).parent.joinpath("README.md")
    with open(file_path, "w", encoding="utf-8") as out_file:
        out_file.write(full)

After Change


            out_file.write(full)


if __name__ == "__main__":
    generate()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: NTMC-Community/MatchZoo
Commit Name: 56ff84927e9d19806b057ea11e43ad67598edd89
Time: 2019-01-10
Author: i@uduse.com
File Name: matchzoo/models/parameter_readme_generator.py
Class Name:
Method Name:


Project Name: streamlit/streamlit
Commit Name: cb8f918e2adea641b4e3de002f5c0b85e9bce511
Time: 2018-05-17
Author: adrien.g.treuille@gmail.com
File Name: examples/uber.py
Class Name:
Method Name:


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: