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

Before Change


if __name__ == "__main__":
    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")

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: Scitator/catalyst
Commit Name: 095d3f9114c79d77782c7fed377af9b59b7db6c8
Time: 2020-02-13
Author: andrey.sheka@gmail.com
File Name: catalyst/utils/distributed.py
Class Name:
Method Name: process_components