Update analysis.py

This commit is contained in:
ltcptgeneral 2018-11-19 17:33:37 -06:00
parent 99fee36f20
commit 28a30a24c6

View File

@ -64,7 +64,7 @@ def _init_device (setting, arg): #initiates computation device for ANNs
the_device_woman = torch.device("cpu")
return the_device_woman #name that reference
else:
return "error:specified device does not exist"
return "error: specified device does not exist"
class c_entities:
@ -612,7 +612,6 @@ def generate_data(filename, x, y, low, high):
temp = temp + str(random.uniform(low, high))
file.write(temp + "\n")
#statistics def below------------------------------------------------------------------------------------------------------------------------------------------------------
class StatisticsError(ValueError):