390258fe22f39a2ae916cb95a06387dfa03f47ed,mltsp/celery_tasks.py,,featurize_ts_file,#Any#Any#Any#,37
Before Change
short_fname = util.shorten_fname(ts_file_path)
with xr.open_dataset(ts_file_path) as data:
meta_features = data.meta_features.to_series().to_dict()
all_features = ft.featurize_single_ts(data.time.values,
data.measurement.values,
data.error.values,
features_to_use, meta_features,
After Change
short_fname = util.shorten_fname(ts_file_path)
ts = time_series.from_netcdf(ts_file_path)
all_features = ft.featurize_single_ts(ts, features_to_use,
custom_script_path)
return (short_fname, all_features, ts.target, ts.meta_features)
@celery_app.task(name="celery_tasks.featurize_ts_data")
def featurize_ts_data(ts, features_to_use, custom_script_path=None,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: cesium-ml/cesium
Commit Name: 390258fe22f39a2ae916cb95a06387dfa03f47ed
Time: 2016-02-24
Author: brettnaul@gmail.com
File Name: mltsp/celery_tasks.py
Class Name:
Method Name: featurize_ts_file
Project Name: Pinafore/qb
Commit Name: 2f74f04253d5a90459401d0f09ea0559d50371a0
Time: 2016-06-25
Author: ski.rodriguez@gmail.com
File Name: util/guess.py
Class Name: GuessList
Method Name: check_recall
Project Name: okfn-brasil/serenata-de-amor
Commit Name: 67fa4171fffad014ef7f072ef56426e52080fcb5
Time: 2016-11-10
Author: cuducos@gmail.com
File Name: src/fetch_suspicious_places.py
Class Name:
Method Name: search_suspicious_around_companies