af8f451f0df8f93092d50f28c6200a1ba8f99d81,pliers/utils/updater.py,,check_updates,#,31
Before Change
// Instantiate transformers
loaded_transformers = {}
for name, parameters in transformers:
for source in [pliers.converters, pliers.filters, pliers.extractors]:
if hasattr(source, name):
trans = getattr(source, name)(**parameters)
loaded_transformers[trans] = (name, parameters)
break
else:
raise ValueError("Transformer name could not be found")
// Transform stimuli
results = pd.DataFrame({"time_extracted":[datetime.datetime.now()]})
for trans in loaded_transformers.keys():
for stim in stimuli:
if trans._stim_matches_input_types(stim):
After Change
stimuli = load_stims(stimuli)
// Get transformers
loaded_transformers = {get_transformer(name, **params): (name, params)
for name, params in transformers}
// Transform stimuli
results = pd.DataFrame({"time_extracted":[datetime.datetime.now()]})
for trans in loaded_transformers.keys():
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: tyarkoni/pliers
Commit Name: af8f451f0df8f93092d50f28c6200a1ba8f99d81
Time: 2017-12-01
Author: delavega@utexas.edu
File Name: pliers/utils/updater.py
Class Name:
Method Name: check_updates
Project Name: victoresque/pytorch-template
Commit Name: a1cdc5d5b8bc04f2aa8d253c52f149c28ddd8f21
Time: 2018-09-30
Author: sunq0313@gmail.com
File Name: base/base_trainer.py
Class Name: BaseTrainer
Method Name: train
Project Name: senarvi/theanolm
Commit Name: f44453ae06692386220594a9a933bc2a07d79f01
Time: 2015-09-18
Author: seppo.git@marjaniemi.com
File Name: theanolm/src/rnnlm.py
Class Name: RNNLM
Method Name: __init__