Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This code requires:
* [Numpy](http://www.numpy.org/)
* [Scipy](http://www.scipy.org/)
* [Theano](http://deeplearning.net/software/theano/)
* [Theanets](http://theanets.readthedocs.org/en/stable/)
* [Theanets 0.5.3](http://theanets.readthedocs.org/en/stable/)
* [Statsmodels](http://statsmodels.sourceforge.net/devel/)
* [Matplotlib](http://matplotlib.org/)
* [pyGPs](http://www-ai.cs.uni-dortmund.de/weblab/static/api_docs/pyGPs/)
Expand Down
3 changes: 1 addition & 2 deletions mpi/mpi_master.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def contains_row(x, X):
for i in range(X.shape[0]):
if all(X[i,:] == x):
return True

return False

def master_process(print_statements):
Expand Down Expand Up @@ -61,7 +60,7 @@ def master_process(print_statements):

if tag == WORKER_DONE:
# data is a (1, m) array
if dataset == None:
if dataset is None:
dataset = data

else:
Expand Down
2 changes: 1 addition & 1 deletion mpi/mpi_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def trainer_process(print_statements):
if print_statements:
print "TRAINER: Received from master, starting new neural net"

if dataset == None:
if dataset is None:
dataset = new_data

else:
Expand Down