Hello,
Im extending hotgym_anomaly example for multi denominational records
and have question on how to fill MODEL_PARAMS correctly
Let's assume we have fields: timestamp, (float)P0, (float)P1
1. what is the place for P0 and P1 in below structure? What means 'sum'
and 'first'
'aggregationInfo': { 'days': 0,
'fields': [(u'P0', 'sum'), (u'P0', 'first')],
'hours': 0,
'microseconds': 0,
'milliseconds': 0,
'minutes': 0,
'months': 0,
'seconds':1,
'weeks': 0,
'years': 0
}
2. I need encode only seconds, how to set encoder properly for timestamp?
And what fields mean for P0: 'clipInput' 'maxval', 'minval', 'n', 'w'
'encoders': { u'timestamp_timeOfDay': { 'fieldname': u'timestamp',
'name': u'timestamp_timeOfDay',
'timeOfDay': (21, 0.5),
'type': 'DateEncoder'
},
u'timestamp_dayOfWeek': None,
u'timestamp_weekend': None,
u'P0': { 'clipInput': True,
' fieldname': u'P0',
'maxval': 100.0,
'minval': 0.0,
'n': 50,
'name': u'P0',
'type': 'ScalarEncoder',
'w': 21
}
u'P1': {}
}
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org