MCPcopy Create free account
hub / github.com/chengsen/PyTorch_TextGCN / parameter_parser

Function parameter_parser

utils.py:207–214  ·  view source on GitHub ↗

A method to parse up command line parameters. By default it trains on the PubMed yelp_dataset. The default hyperparameters give a good quality representation without grid search.

()

Source from the content-addressed store, hash-verified

205
206
207def parameter_parser():
208 """
209 A method to parse up command line parameters. By default it trains on the PubMed yelp_dataset.
210 The default hyperparameters give a good quality representation without grid search.
211 """
212 parser = argparse.ArgumentParser(description="Run .")
213
214 return parser.parse_args()
215
216
217class LogResult:

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected