Guest User

Untitled

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