Cannot call BacktrackinTM class


#1

from nupic.algorithms import backtracking_tm

get_ipython().magic(‘pinfo backtracking_tm’)

In[33]:

backtracking_tm?

Step 1: create Temporal Pooler instance with appropriate parameters

tm = BacktrackingTM(numberOfCols=50, cellsPerColumn=2,
initialPerm=0.5, connectedPerm=0.5,
minThreshold=10, newSynapseCount=10,
permanenceInc=0.1, permanenceDec=0.0,
activationThreshold=8,
globalDecay=0, burnIn=1,
checkSynapseConsistency=False,
pamLength=10)

Error here;

NameErrorTraceback (most recent call last)
in ()
----> 1 tm = BacktrackingTM(numberOfCols=50, cellsPerColumn=2,
2 initialPerm=0.5, connectedPerm=0.5,
3 minThreshold=10, newSynapseCount=10,
4 permanenceInc=0.1, permanenceDec=0.0,
5 activationThreshold=8,

NameError: name ‘BacktrackingTM’ is not defined


#2

Sorry, my mistake. Already solved. Please close it.

Thank you.


closed #3