Network

class nupic.engine.Network(*args)

@doc:place_holder(Network.description)

addRegion(name, nodeType, nodeParams)

@doc:place_holder(Network.addRegion)

addRegionFromBundle(name, nodeType, dimensions, bundlePath, label)

@doc:place_holder(Network.addRegionFromBundle)

disableProfiling(*args, **kwargs)

@doc:place_holder(Network.disableProfiling)

enableProfiling(*args, **kwargs)

@doc:place_holder(Network.enableProfiling)

getCallbacks(*args, **kwargs)

@doc:place_holder(Network.getCallbacks)

getRegionsByType(regionClass)

Gets all region instances of a given class (for example, nupic.regions.SPRegion.SPRegion).

initialize(*args, **kwargs)

@doc:place_holder(Network.initialize)

@doc:place_holder(Network.link)

maxEnabledPhase

@property:place_holder(Network.getMaxEnabledPhase)

maxPhase

@property:place_holder(Network.getMaxPhase)

minEnabledPhase

@property:place_holder(Network.getMinEnabledPhase)

minPhase

@property:place_holder(Network.getMinPhase)

regions

@property:place_holder(Network.getRegions)

static registerRegion(regionClass)

Adds the module and class name for the region to the list of classes the network can use regionClass: a pointer to a subclass of PyRegion

@doc:place_holder(Network.removeLink)

removeRegion(*args, **kwargs)

@doc:place_holder(Network.removeRegion)

resetProfiling(*args, **kwargs)

@doc:place_holder(Network.resetProfiling)

run(n)

@doc:place_holder(Network.run)

save(*args, **kwargs)

@doc:place_holder(Network.save)

setPhases(name, phases)

@doc:place_holder(Network.setPhases)

static unregisterRegion(regionName)

Unregisters a region from the internal list of regions

Parameters:regionName (str) – The name of the region to unregister (ex: regionName=regionClass.__name__)