Advertisement
Guest User

model params -- coordinates

a guest
Aug 14th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.33 KB | None | 0 0
  1. MODEL_PARAMS = \
  2. { 'aggregationInfo': { 'days': 0,
  3.                        'fields': [],
  4.                        'hours': 0,
  5.                        'microseconds': 0,
  6.                        'milliseconds': 0,
  7.                        'minutes': 0,
  8.                        'months': 0,
  9.                        'seconds': 0,
  10.                        'weeks': 0,
  11.                        'years': 0},
  12.   'model': 'HTMPrediction',
  13.   'modelParams': { 'anomalyParams': { u'anomalyCacheRecords': None,
  14.                                       u'autoDetectThreshold': None,
  15.                                       u'autoDetectWaitRecords': None},
  16.                    'clParams': { 'alpha': 0.01962508905154251,
  17.                                  'verbosity': 0,
  18.                                  'regionName': 'SDRClassifierRegion',
  19.                                  'steps': '1'},
  20.                    'inferenceType': 'TemporalAnomaly',
  21.                    'sensorParams': {
  22.                    
  23.                    'encoders': {
  24.                        u'vector':   {
  25.                            'fieldname': u'vector',
  26.                            'n': 300,
  27.                            'w': 21,
  28.                            'name': u'vector',
  29.                            'type': 'CoordinateEncoder'
  30.                        
  31.                        },
  32.                    
  33.                    
  34.                    },
  35.  
  36.                    
  37.                                      'sensorAutoReset': None,
  38.                                      'verbosity': 0},
  39.                    'spEnable': True,
  40.                    'spParams': { 'columnCount': 2048,
  41.                                  'globalInhibition': 1,
  42.                                  'inputWidth': 0,
  43.                                  'boostStrength': 2.0,
  44.                                  'numActiveColumnsPerInhArea': 40,
  45.                                  'potentialPct': 0.8,
  46.                                  'seed': 1956,
  47.                                  'spVerbosity': 0,
  48.                                  'spatialImp': 'cpp',
  49.                                  'synPermActiveInc': 0.05,
  50.                                  'synPermConnected': 0.1,
  51.                                  'synPermInactiveDec': 0.08568228006654939},
  52.                    'tmEnable': True,
  53.                    'tmParams': { 'activationThreshold': 12,
  54.                                  'cellsPerColumn': 32,
  55.                                  'columnCount': 2048,
  56.                                  'globalDecay': 0.0,
  57.                                  'initialPerm': 0.21,
  58.                                  'inputWidth': 2048,
  59.                                  'maxAge': 0,
  60.                                  'maxSegmentsPerCell': 128,
  61.                                  'maxSynapsesPerSegment': 32,
  62.                                  'minThreshold': 10,
  63.                                  'newSynapseCount': 20,
  64.                                  'outputType': 'normal',
  65.                                  'pamLength': 1,
  66.                                  'permanenceDec': 0.1,
  67.                                  'permanenceInc': 0.1,
  68.                                  'seed': 1960,
  69.                                  'temporalImp': 'cpp',
  70.                                  'verbosity': 0},
  71.                    'trainSPNetOnlyIfRequested': False},
  72.   'predictAheadTime': None,
  73.   'version': 1}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement