# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc.  Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Affero Public License for more details.
#
# You should have received a copy of the GNU Affero Public License
# along with this program.  If not, see http://www.gnu.org/licenses.
#
# http://numenta.org/licenses/
# ----------------------------------------------------------------------

MODEL_PARAMS = {'aggregationInfo': {'days': 0,
                     'fields': [(u'f169', 'sum'),
                                (u'f168', 'sum'),
                                (u'f161', 'sum'),
                                (u'f160', 'sum'),
                                (u'f163', 'sum'),
                                (u'f162', 'sum'),
                                (u'f165', 'sum'),
                                (u'f164', 'sum'),
                                (u'f167', 'sum'),
                                (u'f166', 'sum'),
                                (u'f145', 'sum'),
                                (u'f214', 'sum'),
                                (u'f41', 'sum'),
                                (u'f40', 'sum'),
                                (u'f43', 'sum'),
                                (u'f42', 'sum'),
                                (u'f45', 'sum'),
                                (u'f44', 'sum'),
                                (u'f47', 'sum'),
                                (u'f46', 'sum'),
                                (u'f49', 'sum'),
                                (u'f48', 'sum'),
                                (u'f208', 'sum'),
                                (u'f209', 'sum'),
                                (u'f215', 'sum'),
                                (u'f144', 'sum'),
                                (u'f194', 'sum'),
                                (u'f195', 'sum'),
                                (u'timestamp', 'first'),
                                (u'f196', 'sum'),
                                (u'f240', 'sum'),
                                (u'f197', 'sum'),
                                (u'f118', 'sum'),
                                (u'f119', 'sum'),
                                (u'f114', 'sum'),
                                (u'f115', 'sum'),
                                (u'f116', 'sum'),
                                (u'f117', 'sum'),
                                (u'f110', 'sum'),
                                (u'f111', 'sum'),
                                (u'f112', 'sum'),
                                (u'f113', 'sum'),
                                (u'f56', 'sum'),
                                (u'f57', 'sum'),
                                (u'f54', 'sum'),
                                (u'f55', 'sum'),
                                (u'f52', 'sum'),
                                (u'f53', 'sum'),
                                (u'f50', 'sum'),
                                (u'f51', 'sum'),
                                (u'f193', 'sum'),
                                (u'f198', 'sum'),
                                (u'f199', 'sum'),
                                (u'f58', 'sum'),
                                (u'f59', 'sum'),
                                (u'f142', 'sum'),
                                (u'f220', 'sum'),
                                (u'f219', 'sum'),
                                (u'f109', 'sum'),
                                (u'f108', 'sum'),
                                (u'f107', 'sum'),
                                (u'f106', 'sum'),
                                (u'f105', 'sum'),
                                (u'f104', 'sum'),
                                (u'f103', 'sum'),
                                (u'f102', 'sum'),
                                (u'f101', 'sum'),
                                (u'f100', 'sum'),
                                (u'f187', 'sum'),
                                (u'f186', 'sum'),
                                (u'f185', 'sum'),
                                (u'f184', 'sum'),
                                (u'f183', 'sum'),
                                (u'f182', 'sum'),
                                (u'f181', 'sum'),
                                (u'f180', 'sum'),
                                (u'f217', 'sum'),
                                (u'f228', 'sum'),
                                (u'f229', 'sum'),
                                (u'f189', 'sum'),
                                (u'f188', 'sum'),
                                (u'f23', 'sum'),
                                (u'f22', 'sum'),
                                (u'f21', 'sum'),
                                (u'f20', 'sum'),
                                (u'f27', 'sum'),
                                (u'f26', 'sum'),
                                (u'f25', 'sum'),
                                (u'f24', 'sum'),
                                (u'f29', 'sum'),
                                (u'f28', 'sum'),
                                (u'f204', 'sum'),
                                (u'f205', 'sum'),
                                (u'f206', 'sum'),
                                (u'f138', 'sum'),
                                (u'f139', 'sum'),
                                (u'f132', 'sum'),
                                (u'f133', 'sum'),
                                (u'f130', 'sum'),
                                (u'f131', 'sum'),
                                (u'f136', 'sum'),
                                (u'f137', 'sum'),
                                (u'f134', 'sum'),
                                (u'f135', 'sum'),
                                (u'f239', 'sum'),
                                (u'f202', 'sum'),
                                (u'f235', 'sum'),
                                (u'f234', 'sum'),
                                (u'f237', 'sum'),
                                (u'f203', 'sum'),
                                (u'f231', 'sum'),
                                (u'f230', 'sum'),
                                (u'f233', 'sum'),
                                (u'f216', 'sum'),
                                (u'f30', 'sum'),
                                (u'f31', 'sum'),
                                (u'f32', 'sum'),
                                (u'f33', 'sum'),
                                (u'f34', 'sum'),
                                (u'f35', 'sum'),
                                (u'f36', 'sum'),
                                (u'f37', 'sum'),
                                (u'f38', 'sum'),
                                (u'f39', 'sum'),
                                (u'f242', 'sum'),
                                (u'f125', 'sum'),
                                (u'f124', 'sum'),
                                (u'f127', 'sum'),
                                (u'f126', 'sum'),
                                (u'f121', 'sum'),
                                (u'f120', 'sum'),
                                (u'f123', 'sum'),
                                (u'f122', 'sum'),
                                (u'f244', 'sum'),
                                (u'f129', 'sum'),
                                (u'f128', 'sum'),
                                (u'f245', 'sum'),
                                (u'f140', 'sum'),
                                (u'f246', 'sum'),
                                (u'f236', 'sum'),
                                (u'f147', 'sum'),
                                (u'f247', 'sum'),
                                (u'f146', 'sum'),
                                (u'f248', 'sum'),
                                (u'f213', 'sum'),
                                (u'f218', 'sum'),
                                (u'f89', 'sum'),
                                (u'f88', 'sum'),
                                (u'f85', 'sum'),
                                (u'f84', 'sum'),
                                (u'f87', 'sum'),
                                (u'f86', 'sum'),
                                (u'f81', 'sum'),
                                (u'f80', 'sum'),
                                (u'f83', 'sum'),
                                (u'f82', 'sum'),
                                (u'f190', 'sum'),
                                (u'f212', 'sum'),
                                (u'f150', 'sum'),
                                (u'f151', 'sum'),
                                (u'f152', 'sum'),
                                (u'f153', 'sum'),
                                (u'f154', 'sum'),
                                (u'f155', 'sum'),
                                (u'f156', 'sum'),
                                (u'f157', 'sum'),
                                (u'f158', 'sum'),
                                (u'f159', 'sum'),
                                (u'f191', 'sum'),
                                (u'f92', 'sum'),
                                (u'f93', 'sum'),
                                (u'f90', 'sum'),
                                (u'f91', 'sum'),
                                (u'f96', 'sum'),
                                (u'f97', 'sum'),
                                (u'f94', 'sum'),
                                (u'f95', 'sum'),
                                (u'f98', 'sum'),
                                (u'f99', 'sum'),
                                (u'f211', 'sum'),
                                (u'f238', 'sum'),
                                (u'f143', 'sum'),
                                (u'f192', 'sum'),
                                (u'f207', 'sum'),
                                (u'f18', 'sum'),
                                (u'f19', 'sum'),
                                (u'f12', 'sum'),
                                (u'f13', 'sum'),
                                (u'f10', 'sum'),
                                (u'f11', 'sum'),
                                (u'f16', 'sum'),
                                (u'f17', 'sum'),
                                (u'f14', 'sum'),
                                (u'f15', 'sum'),
                                (u'f0', 'sum'),
                                (u'f1', 'sum'),
                                (u'f2', 'sum'),
                                (u'f3', 'sum'),
                                (u'f4', 'sum'),
                                (u'f5', 'sum'),
                                (u'f6', 'sum'),
                                (u'f7', 'sum'),
                                (u'f8', 'sum'),
                                (u'f9', 'sum'),
                                (u'f149', 'sum'),
                                (u'f148', 'sum'),
                                (u'f200', 'sum'),
                                (u'f232', 'sum'),
                                (u'f141', 'sum'),
                                (u'f201', 'sum'),
                                (u'f223', 'sum'),
                                (u'f69', 'sum'),
                                (u'f68', 'sum'),
                                (u'f67', 'sum'),
                                (u'f66', 'sum'),
                                (u'f65', 'sum'),
                                (u'f64', 'sum'),
                                (u'f63', 'sum'),
                                (u'f62', 'sum'),
                                (u'f61', 'sum'),
                                (u'f60', 'sum'),
                                (u'f222', 'sum'),
                                (u'f178', 'sum'),
                                (u'f179', 'sum'),
                                (u'f176', 'sum'),
                                (u'f177', 'sum'),
                                (u'f174', 'sum'),
                                (u'f175', 'sum'),
                                (u'f172', 'sum'),
                                (u'f173', 'sum'),
                                (u'f170', 'sum'),
                                (u'f171', 'sum'),
                                (u'f221', 'sum'),
                                (u'f226', 'sum'),
                                (u'f241', 'sum'),
                                (u'f210', 'sum'),
                                (u'f227', 'sum'),
                                (u'f224', 'sum'),
                                (u'f243', 'sum'),
                                (u'f225', 'sum'),
                                (u'f249', 'sum'),
                                (u'f78', 'sum'),
                                (u'f79', 'sum'),
                                (u'f74', 'sum'),
                                (u'f75', 'sum'),
                                (u'f76', 'sum'),
                                (u'f77', 'sum'),
                                (u'f70', 'sum'),
                                (u'f71', 'sum'),
                                (u'f72', 'sum'),
                                (u'f73', 'sum')],
                     'hours': 0,
                     'microseconds': 0,
                     'milliseconds': 0,
                     'minutes': 0,
                     'months': 0,
                     'seconds': 0,
                     'weeks': 0,
                     'years': 0},
 'model': 'CLA',
 'modelParams': {'anomalyParams': {u'anomalyCacheRecords': None,
                                   u'autoDetectThreshold': None,
                                   u'autoDetectWaitRecords': None},
                 'clParams': {'alpha': 0.08344380507822305,
                              'clVerbosity': 0,
                              'regionName': 'CLAClassifierRegion',
                              'steps': '1'},
                 'inferenceType': 'TemporalAnomaly',
                 'sensorParams': {'encoders': {u'f0': None,
                                               u'f1': {'clipInput': True,
                                                       'fieldname': 'f1',
                                                       'n': 491,
                                                       'name': 'f1',
                                                       'type': 'AdaptiveScalarEncoder',
                                                       'w': 21},
                                               u'f10': None,
                                               u'f100': None,
                                               u'f101': None,
                                               u'f102': None,
                                               u'f103': None,
                                               u'f104': None,
                                               u'f105': None,
                                               u'f106': None,
                                               u'f107': None,
                                               u'f108': None,
                                               u'f109': None,
                                               u'f11': None,
                                               u'f110': None,
                                               u'f111': None,
                                               u'f112': None,
                                               u'f113': None,
                                               u'f114': None,
                                               u'f115': None,
                                               u'f116': None,
                                               u'f117': None,
                                               u'f118': None,
                                               u'f119': None,
                                               u'f12': None,
                                               u'f120': None,
                                               u'f121': None,
                                               u'f122': None,
                                               u'f123': None,
                                               u'f124': None,
                                               u'f125': None,
                                               u'f126': None,
                                               u'f127': None,
                                               u'f128': None,
                                               u'f129': None,
                                               u'f13': None,
                                               u'f130': None,
                                               u'f131': None,
                                               u'f132': None,
                                               u'f133': None,
                                               u'f134': None,
                                               u'f135': None,
                                               u'f136': None,
                                               u'f137': None,
                                               u'f138': None,
                                               u'f139': None,
                                               u'f14': None,
                                               u'f140': None,
                                               u'f141': None,
                                               u'f142': None,
                                               u'f143': None,
                                               u'f144': None,
                                               u'f145': None,
                                               u'f146': None,
                                               u'f147': None,
                                               u'f148': None,
                                               u'f149': None,
                                               u'f15': None,
                                               u'f150': None,
                                               u'f151': None,
                                               u'f152': None,
                                               u'f153': None,
                                               u'f154': None,
                                               u'f155': None,
                                               u'f156': None,
                                               u'f157': None,
                                               u'f158': None,
                                               u'f159': None,
                                               u'f16': None,
                                               u'f160': None,
                                               u'f161': None,
                                               u'f162': None,
                                               u'f163': None,
                                               u'f164': None,
                                               u'f165': None,
                                               u'f166': None,
                                               u'f167': None,
                                               u'f168': None,
                                               u'f169': None,
                                               u'f17': None,
                                               u'f170': None,
                                               u'f171': None,
                                               u'f172': None,
                                               u'f173': None,
                                               u'f174': None,
                                               u'f175': None,
                                               u'f176': None,
                                               u'f177': None,
                                               u'f178': None,
                                               u'f179': None,
                                               u'f18': None,
                                               u'f180': None,
                                               u'f181': None,
                                               u'f182': None,
                                               u'f183': None,
                                               u'f184': None,
                                               u'f185': None,
                                               u'f186': None,
                                               u'f187': None,
                                               u'f188': None,
                                               u'f189': None,
                                               u'f19': None,
                                               u'f190': None,
                                               u'f191': None,
                                               u'f192': None,
                                               u'f193': None,
                                               u'f194': None,
                                               u'f195': None,
                                               u'f196': None,
                                               u'f197': None,
                                               u'f198': None,
                                               u'f199': None,
                                               u'f2': None,
                                               u'f20': None,
                                               u'f200': None,
                                               u'f201': None,
                                               u'f202': None,
                                               u'f203': None,
                                               u'f204': None,
                                               u'f205': None,
                                               u'f206': None,
                                               u'f207': None,
                                               u'f208': None,
                                               u'f209': None,
                                               u'f21': None,
                                               u'f210': None,
                                               u'f211': None,
                                               u'f212': None,
                                               u'f213': None,
                                               u'f214': None,
                                               u'f215': None,
                                               u'f216': None,
                                               u'f217': None,
                                               u'f218': None,
                                               u'f219': None,
                                               u'f22': None,
                                               u'f220': None,
                                               u'f221': None,
                                               u'f222': None,
                                               u'f223': None,
                                               u'f224': None,
                                               u'f225': None,
                                               u'f226': None,
                                               u'f227': None,
                                               u'f228': None,
                                               u'f229': None,
                                               u'f23': None,
                                               u'f230': None,
                                               u'f231': None,
                                               u'f232': None,
                                               u'f233': None,
                                               u'f234': None,
                                               u'f235': None,
                                               u'f236': None,
                                               u'f237': None,
                                               u'f238': None,
                                               u'f239': None,
                                               u'f24': None,
                                               u'f240': None,
                                               u'f241': None,
                                               u'f242': None,
                                               u'f243': None,
                                               u'f244': None,
                                               u'f245': None,
                                               u'f246': None,
                                               u'f247': None,
                                               u'f248': None,
                                               u'f249': None,
                                               u'f25': None,
                                               u'f26': None,
                                               u'f27': None,
                                               u'f28': None,
                                               u'f29': None,
                                               u'f3': None,
                                               u'f30': None,
                                               u'f31': None,
                                               u'f32': None,
                                               u'f33': None,
                                               u'f34': None,
                                               u'f35': None,
                                               u'f36': None,
                                               u'f37': None,
                                               u'f38': None,
                                               u'f39': None,
                                               u'f4': None,
                                               u'f40': None,
                                               u'f41': None,
                                               u'f42': None,
                                               u'f43': None,
                                               u'f44': None,
                                               u'f45': None,
                                               u'f46': None,
                                               u'f47': None,
                                               u'f48': None,
                                               u'f49': None,
                                               u'f5': None,
                                               u'f50': None,
                                               u'f51': None,
                                               u'f52': None,
                                               u'f53': None,
                                               u'f54': None,
                                               u'f55': None,
                                               u'f56': None,
                                               u'f57': None,
                                               u'f58': None,
                                               u'f59': None,
                                               u'f6': None,
                                               u'f60': None,
                                               u'f61': None,
                                               u'f62': None,
                                               u'f63': None,
                                               u'f64': None,
                                               u'f65': None,
                                               u'f66': None,
                                               u'f67': None,
                                               u'f68': None,
                                               u'f69': None,
                                               u'f7': None,
                                               u'f70': None,
                                               u'f71': None,
                                               u'f72': None,
                                               u'f73': None,
                                               u'f74': None,
                                               u'f75': None,
                                               u'f76': None,
                                               u'f77': None,
                                               u'f78': None,
                                               u'f79': None,
                                               u'f8': None,
                                               u'f80': None,
                                               u'f81': None,
                                               u'f82': None,
                                               u'f83': None,
                                               u'f84': None,
                                               u'f85': None,
                                               u'f86': None,
                                               u'f87': None,
                                               u'f88': None,
                                               u'f89': None,
                                               u'f9': None,
                                               u'f90': None,
                                               u'f91': None,
                                               u'f92': None,
                                               u'f93': None,
                                               u'f94': None,
                                               u'f95': None,
                                               u'f96': None,
                                               u'f97': None,
                                               u'f98': None,
                                               u'f99': None,
                                               u'timestamp_dayOfWeek': None,
                                               u'timestamp_timeOfDay': None,
                                               u'timestamp_weekend': None},
                                  'sensorAutoReset': None,
                                  'verbosity': 0},
                 'spEnable': True,
                 'spParams': {'columnCount': 2048,
                              'globalInhibition': 1,
                              'inputWidth': 0,
                              'maxBoost': 2.0,
                              'numActiveColumnsPerInhArea': 40,
                              'potentialPct': 0.8,
                              'seed': 1956,
                              'spVerbosity': 0,
                              'spatialImp': 'cpp',
                              'synPermActiveInc': 0.05,
                              'synPermConnected': 0.1,
                              'synPermInactiveDec': 0.01017530829420624},
                 'tpEnable': True,
                 'tpParams': {'activationThreshold': 15,
                              'cellsPerColumn': 32,
                              'columnCount': 2048,
                              'globalDecay': 0.0,
                              'initialPerm': 0.21,
                              'inputWidth': 2048,
                              'maxAge': 0,
                              'maxSegmentsPerCell': 128,
                              'maxSynapsesPerSegment': 32,
                              'minThreshold': 12,
                              'newSynapseCount': 20,
                              'outputType': 'normal',
                              'pamLength': 5,
                              'permanenceDec': 0.1,
                              'permanenceInc': 0.1,
                              'seed': 1960,
                              'temporalImp': 'cpp',
                              'verbosity': 0},
                 'trainSPNetOnlyIfRequested': False},
 'predictAheadTime': None,
 'version': 1}