Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9881 Discussions

Maximum number of categories in PME


The Curie module has 128 bytes * 128 neurons.

Assuming I have many vectors of say, 10 bytes, what is the maximum number of categories can I classify them under?

Does each neuron only take one category or multiple categories (assuming learning data << 128 bytes)?

Based on the sample code provided with the IntelPME library, one neuron can only take one category.

If so, why does the data sheet say that the total number of categories possible is 32,768?

I am unable to find documentation about the difference between context (0-127) and categories specifically for the PME on the Intel Curie.

Found some help here:

If multiple vectors fall into the same category, will/can they be stored under the same neuron?

Okay, they can.

Thanks in advance.

0 Kudos
2 Replies
Community Manager

Hello TimothyLiu,



Thanks for reaching out!



I'd like to point out that you can find all the available documentation in I've been reading the following documents and this is what I understand:



-The maximum amount of categories is actually 32767 not 32768, they vary from 1 to 32767. Category 0 is used to teach a counter example with the intend to correct neurons firing erroneously, but without committing a new neuron.


-The input data can come from a variety of sources, this data is converted into pattern vectors which are then broadcasted to the neural network for either learning or recognition. These vectors are sequences of bytes with a length between 1 and 128 on Curie.


-The amount of neurons used in different categories depend on the context that you train them. Usage of the context allows segmenting the network per family of input data creating sub-networks. This segmentation can be based on the model of the input sensor, the settings of the input sensor, the feature extracted from the sensor data, the data length, the time of collection of the data and more.


-The free version of the library supports only a single context.



Those are facts taken from the documentation, now, regarding your question:



"...Assuming I have many vectors of say, 10 bytes, what is the maximum number of categories can I classify them under?..."



I believe that if you use vectors of 1 byte you will be able to use the maximum amount of categories but if you use vectors of 10 bytes you will have ten times less (~3276). However, I can't confirm this. So, I encourage you to check the documentation in order to learn more about it and if you have further questions regarding this library, I'd suggest you to contact General-Vision ( as they developed this library and will be able to provide you a more accurate support.



I hope this information helps you,


Pedro M.
Community Manager

Hello TimothyLiu,



Do you have any updates about this?



Pedro M.