This one? https://github.com/numenta/nupic/tree/master/examples/opf/clients/cpu
Matt Sent from my MegaPhone > On Sep 9, 2015, at 9:44 AM, Wakan Tanka <[email protected]> wrote: > >> On 09/02/2015 04:15 PM, 曾惟如 wrote: >> hello nupic: >> >> recently, I am learning the source code of the program hotgym >> prodiction. and there are something I can't understand. >> >> In the document of Online Prediction >> Framework(https://github.com/numenta/nupic/wiki/Online-Prediction-Framework), >> there a introduction(Shifting Inferences) which is about the shift, but >> i can't get what dose that mean. So I want to ask some question. >> >> 1: what dose shifter do?. What dose the code "result - >> shifter.shift(result)" do?. You can see some codes below. >> >> 2: Why some program do not use the class InferenceShifter? I have read >> some other source code like One Hot Gym Anomaly and CPU Usage. in that >> code, there no the step "shifter = InferenceShifter()", it dosen't use >> the class InferenceShifter. So i want to konw what is situation of use >> the class InferenceShifter. >> >> "field=kw_energy_consumption"]) >> >> ifplot: >> result = shifter.shift(result) >> >> prediction = result.inferences["multiStepBestPredictions"][1] >> output.write([timestamp],[consumption],[prediction]) >> >> (the code is in the line 124 of the hotgym_prediction's run.py) >> >> Please bear the bad English, andthanks in advance!! > > > May I ask which CPU Usage source code are you referring to? > > Thank you. >
