6209a8fb0d19d8808ce0c0250193beb770267137,python/baseline/tf/tagger/train.py,,fit,#Any#Any#Any#Any#,136
Before Change
patience = int(kwargs["patience"]) if "patience" in kwargs else epochs
conll_file = kwargs.get("conll_file", None)
txts = kwargs.get("txts", None)
model_file = kwargs["outfile"] if "outfile" in kwargs and kwargs["outfile"] is not None else "./tagger-model-tf"
after_train_fn = kwargs["after_train_fn"] if "after_train_fn" in kwargs else None
trainer = TaggerTrainerTf(model, **kwargs)
init = tf.global_variables_initializer()
model.sess.run(init)
After Change
patience = int(kwargs["patience"]) if "patience" in kwargs else epochs
conll_file = kwargs.get("conll_file", None)
txts = kwargs.get("txts", None)
model_file = get_model_file(kwargs, "tagger", "tf")
after_train_fn = kwargs["after_train_fn"] if "after_train_fn" in kwargs else None
trainer = TaggerTrainerTf(model, **kwargs)
init = tf.global_variables_initializer()
model.sess.run(init)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: dpressel/mead-baseline
Commit Name: 6209a8fb0d19d8808ce0c0250193beb770267137
Time: 2017-07-28
Author: dpressel@gmail.com
File Name: python/baseline/tf/tagger/train.py
Class Name:
Method Name: fit
Project Name: dpressel/mead-baseline
Commit Name: 6209a8fb0d19d8808ce0c0250193beb770267137
Time: 2017-07-28
Author: dpressel@gmail.com
File Name: python/baseline/tf/tagger/train.py
Class Name:
Method Name: fit
Project Name: dpressel/mead-baseline
Commit Name: 6209a8fb0d19d8808ce0c0250193beb770267137
Time: 2017-07-28
Author: dpressel@gmail.com
File Name: python/baseline/tf/lm/train.py
Class Name:
Method Name: fit
Project Name: dpressel/mead-baseline
Commit Name: 6209a8fb0d19d8808ce0c0250193beb770267137
Time: 2017-07-28
Author: dpressel@gmail.com
File Name: python/baseline/tf/seq2seq/train.py
Class Name:
Method Name: fit