Advertisement
sheiser1

Multi-input model params

Feb 22nd, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 5.49 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': 'CLA',
  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': { 'encoders': { '_classifierInput': { 'classifierOnly': True,
  22.                                                                          'clipInput': True,
  23.                                                                          'fieldname': 'occupancy',
  24.                                                                          'maxval': 13.5,
  25.                                                                          'minval': 0.0,
  26.                                                                          'n': 115,
  27.                                                                          'name': '_classifierInput',
  28.                                                                          'type': 'ScalarEncoder',
  29.                                                                          'w': 21},
  30.                                                    u'occupancy': { 'clipInput': True,
  31.                                                                                'fieldname': 'occupancy',
  32.                                                                                'maxval': 13.5,
  33.                                                                                'minval': 0.0,
  34.                                                                                'n': 29,
  35.                                                                                'name': 'occupancy',
  36.                                                                                'type': 'ScalarEncoder',
  37.                                                                                'w': 21},
  38.                            
  39.                                                    u'timestamp_dayOfWeek': None,
  40.                                                    u'timestamp_timeOfDay': { 'fieldname': 'timestamp',
  41.                                                                              'name': 'timestamp',
  42.                                                                              'timeOfDay': ( 21,
  43.                                                                                             6.090344152692538),
  44.                                                                              'type': 'DateEncoder'},
  45.                                                    u'timestamp_weekend': { 'fieldname': 'timestamp',
  46.                                                                            'name': 'timestamp',
  47.                                                                            'type': 'DateEncoder',
  48.                                                                            'weekend': ( 21,
  49.                                                                                         1)}},
  50.                                            
  51.                                            
  52.                                      'sensorAutoReset': None,
  53.                                      'verbosity': 0},
  54.                    'spEnable': True,
  55.                    'spParams': { 'columnCount': 2048,
  56.                                  'globalInhibition': 1,
  57.                                  'inputWidth': 0,
  58.                                  'maxBoost': 2.0,
  59.                                  'numActiveColumnsPerInhArea': 40,
  60.                                  'potentialPct': 0.8,
  61.                                  'seed': 1956,
  62.                                  'spVerbosity': 0,
  63.                                  'spatialImp': 'cpp',
  64.                                  'synPermActiveInc': 0.05,
  65.                                  'synPermConnected': 0.1,
  66.                                  'synPermInactiveDec': 0.08568228006654939},
  67.                    'tpEnable': True,
  68.                    'tpParams': { 'activationThreshold': 12,
  69.                                  'cellsPerColumn': 32,
  70.                                  'columnCount': 2048,
  71.                                  'globalDecay': 0.0,
  72.                                  'initialPerm': 0.21,
  73.                                  'inputWidth': 2048,
  74.                                  'maxAge': 0,
  75.                                  'maxSegmentsPerCell': 128,
  76.                                  'maxSynapsesPerSegment': 32,
  77.                                  'minThreshold': 10,
  78.                                  'newSynapseCount': 20,
  79.                                  'outputType': 'normal',
  80.                                  'pamLength': 1,
  81.                                  'permanenceDec': 0.1,
  82.                                  'permanenceInc': 0.1,
  83.                                  'seed': 1960,
  84.                                  'temporalImp': 'cpp',
  85.                                  'verbosity': 0},
  86.                    'trainSPNetOnlyIfRequested': False},
  87.   'predictAheadTime': None,
  88.   'version': 1}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement