mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-01 15:52:39 +02:00
Fixed stick datasets bug ... but sympykern is currently in a rewrite so will be broken
This commit is contained in:
parent
87200c6e12
commit
1a46026015
6 changed files with 120 additions and 65 deletions
|
|
@ -491,11 +491,11 @@ def ripley_synth(data_set='ripley_prnn_data'):
|
|||
def osu_run1(data_set='osu_run1', sample_every=4):
|
||||
if not data_available(data_set):
|
||||
download_data(data_set)
|
||||
zip = zipfile.ZipFile(os.path.join(data_path, data_set, 'sprintTXT.ZIP'), 'r')
|
||||
zip = zipfile.ZipFile(os.path.join(data_path, data_set, 'run1TXT.ZIP'), 'r')
|
||||
path = os.path.join(data_path, data_set)
|
||||
for name in zip.namelist():
|
||||
zip.extract(name, path)
|
||||
Y, connect = GPy.util.mocap.load_text_data('Aug210107', path)
|
||||
Y, connect = GPy.util.mocap.load_text_data('Aug210106', path)
|
||||
Y = Y[0:-1:sample_every, :]
|
||||
return data_details_return({'Y': Y, 'connect' : connect}, data_set)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue