# Forecasting multiple(10) steps into the future

**URL:** <https://discourse.numenta.org/t/forecasting-multiple-10-steps-into-the-future/3419>\
**Category:** NuPIC\
**Created:** [February 4, 2018, 6:49am UTC](https://discourse.numenta.org/t/forecasting-multiple-10-steps-into-the-future/3419 "2018-02-04T06:49:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![psingh22](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@psingh22](https://discourse.numenta.org/u/psingh22)\
**Post date:** [February 4, 2018, 6:49am UTC](https://discourse.numenta.org/t/forecasting-multiple-10-steps-into-the-future/3419/1 "2018-02-04T06:49:07Z")

</div>

Hi, I am new to HTMs.  
I have a continuous stream of CPUs utilization data. I want to use HTMs on this streaming data and predict the next 10-20 data points in real time. Can anyone please advise me, which example in the HTM open source code to follow and how can I achieve multistep forecasting.

Many thanks

---

<div class="post-metadata">

**Author:** ![Jonathan\_Mackenzie](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/jonathan_mackenzie/32/118_2.png) [@Jonathan\_Mackenzie](https://discourse.numenta.org/u/Jonathan_Mackenzie)\
**Post date:** [February 4, 2018, 11:26am UTC](https://discourse.numenta.org/t/forecasting-multiple-10-steps-into-the-future/3419/2 "2018-02-04T11:26:11Z")

</div>

From the examples folder of the repo:

> **[numenta/nupic](https://github.com/numenta/nupic/tree/master/examples/opf/clients/cpu)**
>
> Numenta Platform for Intelligent Computing is an implementation of Hierarchical Temporal Memory (HTM), a theory of intelligence based strictly on the neuroscience of the neocortex. - numenta/nupic

In `model_params.py`, go to the bottom and change: `'steps': '5',` to the desired number of steps.

If you have data from another machine, it should be easy enough to change line 68 of `cpu.py` to be an iterator for a source of your choosing.

---

<div class="post-metadata">

**Author:** ![psingh22](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@psingh22](https://discourse.numenta.org/u/psingh22)\
**Post date:** [February 6, 2018, 5:11am UTC](https://discourse.numenta.org/t/forecasting-multiple-10-steps-into-the-future/3419/3 "2018-02-06T05:11:46Z")

</div>

Awesome. Thanks!
