Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
86 lines (85 sloc) 5.43 KB
MODEL_PARAMS = \
{ 'aggregationInfo': { 'days': 0,
'fields': [],
'hours': 0,
'microseconds': 0,
'milliseconds': 0,
'minutes': 0,
'months': 0,
'seconds': 0,
'weeks': 0,
'years': 0},
'model': 'HTMPrediction',
'modelParams': { 'anomalyParams': { u'anomalyCacheRecords': None,
u'autoDetectThreshold': None,
u'autoDetectWaitRecords': None},
'clParams': { 'alpha': 0.01962508905154251,
'verbosity': 0,
'regionName': 'SDRClassifierRegion',
'steps': '1'},
'inferenceType': 'TemporalAnomaly',
'sensorParams': { 'encoders': { '_classifierInput': { 'classifierOnly': True,
'clipInput': True,
'fieldname': 'kw_energy_consumption',
'maxval': 53.0,
'minval': 0.0,
'n': 115,
'name': '_classifierInput',
'type': 'ScalarEncoder',
'w': 21},
u'kw_energy_consumption': { 'clipInput': True,
'fieldname': 'kw_energy_consumption',
'maxval': 53.0,
'minval': 0.0,
'n': 29,
'name': 'kw_energy_consumption',
'type': 'ScalarEncoder',
'w': 21},
u'timestamp_dayOfWeek': None,
u'timestamp_timeOfDay': { 'fieldname': 'timestamp',
'name': 'timestamp',
'timeOfDay': ( 21,
6.090344152692538),
'type': 'DateEncoder'},
u'timestamp_weekend': { 'fieldname': 'timestamp',
'name': 'timestamp',
'type': 'DateEncoder',
'weekend': ( 21,
1)}},
'sensorAutoReset': None,
'verbosity': 0},
'spEnable': True,
'spParams': { 'columnCount': 2048,
'globalInhibition': 1,
'inputWidth': 0,
'boostStrength': 2.0,
'numActiveColumnsPerInhArea': 40,
'potentialPct': 0.8,
'seed': 1956,
'spVerbosity': 0,
'spatialImp': 'cpp',
'synPermActiveInc': 0.05,
'synPermConnected': 0.1,
'synPermInactiveDec': 0.08568228006654939},
'tmEnable': True,
'tmParams': { 'activationThreshold': 12,
'cellsPerColumn': 32,
'columnCount': 2048,
'globalDecay': 0.0,
'initialPerm': 0.21,
'inputWidth': 2048,
'maxAge': 0,
'maxSegmentsPerCell': 128,
'maxSynapsesPerSegment': 32,
'minThreshold': 10,
'newSynapseCount': 20,
'outputType': 'normal',
'pamLength': 1,
'permanenceDec': 0.1,
'permanenceInc': 0.1,
'seed': 1960,
'temporalImp': 'cpp',
'verbosity': 0},
'trainSPNetOnlyIfRequested': False},
'predictAheadTime': None,
'version': 1}
You can’t perform that action at this time.