# Columns \> 2048 when swarming

**URL:** <https://discourse.numenta.org/t/columns-2048-when-swarming/770>\
**Category:** NuPIC\
**Tags:** spatial-pooling, swarming, question\
**Created:** [June 15, 2016, 2:14pm UTC](https://discourse.numenta.org/t/columns-2048-when-swarming/770 "2016-06-15T14:14:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pelsasser](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/pelsasser/32/436_2.png) [@pelsasser](https://discourse.numenta.org/u/pelsasser)\
**Post date:** [June 15, 2016, 2:14pm UTC](https://discourse.numenta.org/t/columns-2048-when-swarming/770/1 "2016-06-15T14:14:23Z")

</div>

Hello,

I was recently watching some of the videos regarding multi-variate swarming. One of the suggestions for using multiple inputs is to utilize more than the default of 2048 columns as well as larger data sets. My data set is on the magnitude of millions of rows, so I would like to attempt to swarm utilizing 4 or 5 different fields. I can see in the model\_params.py where the number of columns is specified, however I cannot figure out how to change this for swarming purposes. I looked at the schema for the swarm\_config.json file and didn’t see that variable anywhere.

Can anyone help shed some light on how to manipulate the number of columns during the swarming process?

Thanks

Phil Elsasser

---

<div class="post-metadata">

**Author:** ![rhyolight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/rhyolight/32/3922_2.png) [@rhyolight](https://discourse.numenta.org/u/rhyolight)\
**Post date:** [July 31, 2016, 2:53pm UTC](https://discourse.numenta.org/t/columns-2048-when-swarming/770/2 "2016-07-31T14:53:30Z")

</div>

@pelsasser Sorry for the late response. The lower-level swarming interface described by @scott [here](https://discourse.numenta.org/t/constrained-swarming/972/4?u=rhyolight) will probably give you the flexibility you need, but running those swarms is going to take some serious time and computing power. Correct me if I’m wrong, @alavin, but the SP should be able to handle in input space that is larger than the number of columns.

Since you are mentioning that you have multiple fields that might contribute to the result, I should bring up that many times in the past I’ve thought the same thing and it turned out that none of those fields were chosen by the swarming algorithm to be encoded, which means the swarming process did not think the fields contributed to a better prediction when included.

This discussion might need some details about the data your are analyzing for us to better understand how to help.

---

<div class="post-metadata">

**Author:** ![alavin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/alavin/32/144_2.png) [@alavin](https://discourse.numenta.org/u/alavin)\
**Post date:** [July 31, 2016, 5:40pm UTC](https://discourse.numenta.org/t/columns-2048-when-swarming/770/3 "2016-07-31T17:40:04Z")

</div>

> [@rhyolight](#):
>
> running those swarms is going to take some serious time and computing power

Yes, I’d suggest using a representative subset of your data to swarm over.

> [@rhyolight](#):
>
> the SP should be able to handle in input space that is larger than the number of columns

You are correct 🙂

> [@rhyolight](#):
>
> which means the swarming process did not think the fields contributed to a better prediction when included.

It’s very common (in ML in general) to find parameters of your dataset to be insignificant. Swarming can help identify if this is the case.

---

<div class="post-metadata">

**Author:** ![scott](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/scott/32/170_2.png) [@scott](https://discourse.numenta.org/u/scott)\
**Post date:** [August 3, 2016, 11:19pm UTC](https://discourse.numenta.org/t/columns-2048-when-swarming/770/4 "2016-08-03T23:19:22Z")

</div>

> Yes, I’d suggest using a representative subset of your data to swarm over.

You can [limit the number of records in the description.py](https://github.com/numenta/nupic/blob/d50e66733fd828f861320c25606984533ad53c9b/examples/opf/experiments/multistep/hotgym/description.py#L361) file.
