mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-27 14:25:16 +02:00
Change dtype for Python 3 in robot_wirelss
This commit is contained in:
parent
460cfd3d12
commit
87df10707c
1 changed files with 1 additions and 1 deletions
|
|
@ -622,7 +622,7 @@ def robot_wireless(data_set='robot_wireless'):
|
||||||
download_data(data_set)
|
download_data(data_set)
|
||||||
file_name = os.path.join(data_path, data_set, 'uw-floor.txt')
|
file_name = os.path.join(data_path, data_set, 'uw-floor.txt')
|
||||||
all_time = np.genfromtxt(file_name, usecols=(0))
|
all_time = np.genfromtxt(file_name, usecols=(0))
|
||||||
macaddress = np.genfromtxt(file_name, usecols=(1), dtype='string')
|
macaddress = np.genfromtxt(file_name, usecols=(1), dtype=str)
|
||||||
x = np.genfromtxt(file_name, usecols=(2))
|
x = np.genfromtxt(file_name, usecols=(2))
|
||||||
y = np.genfromtxt(file_name, usecols=(3))
|
y = np.genfromtxt(file_name, usecols=(3))
|
||||||
strength = np.genfromtxt(file_name, usecols=(4))
|
strength = np.genfromtxt(file_name, usecols=(4))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue