d651d84138b1905a6eb4ac09fb84c0d398741d9f,examples/mnist/simple_model_training.py,,,#,17
Before Change
// set up Python dictionary to hold model training parameters
model_definition = {...}
// Define Ludwig model object that drive model training
model = LudwigModel(model_definition,
model_definition_file="./model_definition.yaml",
After Change
// set up Python dictionary to hold model training parameters
with open("./model_definition.yaml","r") as f:
model_definition = yaml.safe_load(f.read())
// Define Ludwig model object that drive model training
model = LudwigModel(model_definition,
logging_level=logging.INFO)
// initiate model training
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: uber/ludwig
Commit Name: d651d84138b1905a6eb4ac09fb84c0d398741d9f
Time: 2019-12-25
Author: jimthompson5802@aol.com
File Name: examples/mnist/simple_model_training.py
Class Name:
Method Name:
Project Name: dmlc/gluon-nlp
Commit Name: 03b0e7061cf477fbeccb9c128ee76603df582d86
Time: 2018-09-04
Author: leonard@lausen.nl
File Name: scripts/word_embeddings/evaluate_pretrained.py
Class Name:
Method Name: load_embedding_from_path
Project Name: OpenNMT/OpenNMT-py
Commit Name: 7b205efea6b504de04311bc55d109cd28d8f3e0c
Time: 2016-12-21
Author: alerer@fb.com
File Name: OpenNMT/preprocess.py
Class Name:
Method Name: makeVocabulary