When I run swarm.py on the hotgym prediction example I get a model that seems to work quite well. However when I look at the model parameters in that the swarm produces in rec_center_hourly_model_params.py I am surprised that it does not seem to encode the date in a way which includes whether it is a weekend or not. What I get is:
'sensorParams': { 'encoders':
{ '_classifierInput':
{ 'classifierOnly': True,
'clipInput': True,
'fieldname': 'kw_energy_consumption',
'maxval': 53.0,
'minval': 0.0,
'n': 362,
'name': '_classifierInput',
'type': 'ScalarEncoder',
'w': 21},
u'kw_energy_consumption':
{ 'clipInput': True,
'fieldname': 'kw_energy_consumption',
'maxval': 53.0,
'minval': 0.0,
'n': 271,
'name': 'kw_energy_consumption',
'type': 'ScalarEncoder',
'w': 21},
u'timestamp_dayOfWeek': None,
u'timestamp_timeOfDay':
{ 'fieldname': 'timestamp',
'name': 'timestamp',
'timeOfDay': ( 21, 8.421340604599116),
'type': 'DateEncoder'},
u'timestamp_weekend': None
},
'sensorAutoReset': None,
'verbosity': 0},
Am I misinterpreting this – is this what you expect?