Skip to content

Instantly share code, notes, and snippets.

@rhyolight
Last active December 9, 2015 05:42
Show Gist options
  • Save rhyolight/20c937c15e5ae3333f89 to your computer and use it in GitHub Desktop.
Save rhyolight/20c937c15e5ae3333f89 to your computer and use it in GitHub Desktop.
{
"modelParams":{
"aggregationInfo":{
"hours":1,
"microseconds":0,
"seconds":0,
"fields":[
[
"consumption",
"sum"
]
],
"weeks":0,
"months":0,
"minutes":0,
"days":0,
"milliseconds":0,
"years":0
},
"model":"CLA",
"version":1,
"predictAheadTime":null,
"modelParams":{
"sensorParams":{
"verbosity":0,
"encoders":{
"timestamp_timeOfDay":{
"type":"DateEncoder",
"timeOfDay":[
21,
1
],
"fieldname":"timestamp",
"name":"timestamp_timeOfDay"
},
"consumption":{
"resolution":0.88,
"seed":1,
"fieldname":"consumption",
"name":"consumption",
"type":"RandomDistributedScalarEncoder"
},
"timestamp_weekend":{
"type":"DateEncoder",
"fieldname":"timestamp",
"name":"timestamp_weekend",
"weekend":21
}
},
"sensorAutoReset":null
},
"spParams":{
"columnCount":2048,
"spVerbosity":0,
"spatialImp":"cpp",
"synPermConnected":0.1,
"seed":1956,
"numActiveColumnsPerInhArea":40,
"globalInhibition":1,
"inputWidth":0,
"synPermInactiveDec":0.005,
"synPermActiveInc":0.04,
"potentialPct":0.85
},
"spEnable":true,
"clParams":{
"implementation":"cpp",
"alpha":0.0001,
"clVerbosity":0,
"steps":"1,5",
"regionName":"CLAClassifierRegion"
},
"inferenceType":"TemporalMultiStep",
"tpEnable":true,
"tpParams":{
"columnCount":2048,
"activationThreshold":16,
"pamLength":1,
"cellsPerColumn":32,
"permanenceInc":0.1,
"minThreshold":12,
"verbosity":0,
"maxSynapsesPerSegment":32,
"outputType":"normal",
"initialPerm":0.21,
"globalDecay":0.0,
"maxAge":0,
"permanenceDec":0.1,
"seed":1960,
"newSynapseCount":20,
"maxSegmentsPerCell":128,
"temporalImp":"cpp",
"inputWidth":2048
},
"trainSPNetOnlyIfRequested":false
}
},
"predictedField":"consumption"
}
@rhyolight
Copy link
Author

htm-community/hitc#5: This is an example payload for POST /models/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment