Description
When running under Google Colab using the following command:
"!python3 -m htm.examples.hotgym"
The following was the print-out (no error) but no plot at the end:
Parameters:
{ 'enc': {'resolution': 0.88, 'size': 700, 'sparsity': 0.02},
'sdrc_alpha': 0.1,
'sp': { 'boostStrength': 3.0,
'columnCount': 1638,
'numActiveColumnsPerInhArea': 72,
'potentialPct': 0.85,
'synPermActiveInc': 0.04,
'synPermConnected': 0.13999999999999999,
'synPermInactiveDec': 0.006},
'time': {'timeOfDay': (30, 1), 'weekend': 21},
'tm': { 'activationThreshold': 17,
'cellsPerColumn': 13,
'initialPerm': 0.21,
'maxSegmentsPerCell': 128,
'maxSynapsesPerSegment': 64,
'minThreshold': 10,
'newSynapseCount': 32,
'permanenceDec': 0.1,
'permanenceInc': 0.1}}
Encoded Input SDR( 11765 )
Sparsity Min/Mean/Std/Max 0.00543986 / 0.00552255 / 1.35811e-05 / 0.00552486
Activation Frequency Min/Mean/Std/Max 0 / 0.00552295 / 0.0317386 / 0.502847
Entropy 0.635806
Overlap Min/Mean/Std/Max 0.307692 / 0.891246 / 0.126693 / 1
Spatial Pooler Mini-Columns SDR( 1638 )
Sparsity Min/Mean/Std/Max 0.043956 / 0.0439559 / 2.08729e-07 / 0.043956
Activation Frequency Min/Mean/Std/Max 0.0170804 / 0.0439561 / 0.0182792 / 0.10066
Entropy 0.979711
Overlap Min/Mean/Std/Max 0 / 0.846308 / 0.256087 / 1
Spatial Pooler Connections:
Inputs (11765) ~> Outputs (1638) via Segments (1638)
Segments on Cell Min/Mean/Max 1 / 1 / 1
Potential Synapses on Segment Min/Mean/Max 10000 / 10000 / 10000
Connected Synapses on Segment Min/Mean/Max 86 / 395.876 / 2454
Synapses Dead (0.913949%) Saturated (0.00240562%)
Temporal Memory Cells SDR( 21294 )
Sparsity Min/Mean/Std/Max 0.00338123 / 0.0123309 / 0.013492 / 0.043956
Activation Frequency Min/Mean/Std/Max 0.00204964 / 0.012331 / 0.00762384 / 0.0594398
Entropy 0.968392
Overlap Min/Mean/Std/Max 0 / 0.609997 / 0.381052 / 1
Temporal Memory Connections:
Inputs (17335) ~> Outputs (21294) via Segments (41695)
Segments on Cell Min/Mean/Max 0 / 1.95806 / 11
Potential Synapses on Segment Min/Mean/Max 32 / 36.8715 / 64
Connected Synapses on Segment Min/Mean/Max 28 / 34.0534 / 64
Synapses Dead (0%) Saturated (0.283736%)
Predictive Error (RMS) 1 steps ahead: 18.07927468676872
Predictive Error (RMS) 5 steps ahead: 22.10117101589806
Anomaly Mean 0.2099781116136428
Anomaly Std 0.3366711792821944
<Figure size 640x480 with 2 Axes>
I had tried to put an inline comand: "%matplotlib inline"
underneath "import matplotlib.pyplot as plt", but got the same result
import matplotlib.pyplot as plt
%matplotlib inline
same result: (no plot)
.....
<Figure size 640x480 with 2 Axes>
Please help!