Skip to content
cogmission edited this page Oct 18, 2014 · 12 revisions

Absolutely no algorithmic divergence - but some architectural differences

There are a few small differences between the Python and Java versions. One is the abstraction of objects represented in the Python version as arrays and array containers into formal Objects in the Java version. Another is that all methods in the Java version are "functional" in that the data they operate on is passed in, and no state is kept in either the TemporalMemory or the SpatialPooler classes. The "Connections" class acts like an isolated memory - containing all state. This means that two distinct Connections objects (memories) could be passed to the TM or SP, manipulating two entirely different layers concurrently or in parallel.

Clone this wiki locally