Commit 9129adff authored by Chanelle Lee's avatar Chanelle Lee
Browse files

Made a few changes to the plotting of the performance values. Need to wait for...

Made a few changes to the plotting of the performance values. Need to wait for all simulations to get a good idea of what is going to work.
parent 755f1241
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -21,9 +21,9 @@ def main(numSims=10):
else:
logger.critical('Could not connect to streaming server')
time.sleep(5)
testParams = pd.read_csv('testParams.csv', index_col='id')
testParams = pd.read_csv('testParams.csv', index_col='paramSet')
for paramNum in set(testParams.index.values):
if param < 5: # This just allows us to skip the ones already tested
if paramNum < 7: # This just allows us to skip the ones already tested
continue
logger.info('Param num: {}'.format(paramNum))
simNum = 0
......
......@@ -507,7 +507,7 @@ class EPuckSim(object):
# Renormalise the small float errors to make sure belief is
# equal to 1.
newBelief /= newBelief.sum()
self._belief = round(newBelief, 15)
self._belief = np.round(newBelief, 15)
logger.debug('New belief is now {0}'.format(self._belief))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment