Question: I am working on fire evacuation of a building floor and would like to count the number of people remaining inside the building after 120 seconds? The timer should start once the evacuation process begins, which is by alarm that goes off after a certain amount of time using an event feature.

I know how to count the total number of people inside the building using the function component getPeopleInsideCount and a text with getPeopleInsideCount(). But I don't know what code to use for my problem.

Below is the code: 

```
return pedOffice.countPeds() + pedStudents.countPeds()  - pedSink.sink.count();

```

[![enter image description here](https://i.stack.imgur.com/DJUMk.png)](https://i.stack.imgur.com/DJUMk.png)

Answer: 
As per MSalter's comment, the softmax output isn't a true probability vector. But if we choose to regard it as such, we can simply take the average of each prediction. This is equivalent to having two persons each classify a random sample of objects from a big pool of objects and assuming they both counted an equal amount, estimate the distribution of objects in the big pool by combining their observations. The sum of the 'probabilities' of the classes will still equal 1.
Following this article : <https://www.researchgate.net/publication/327744903_Multimodal_CNN_Pedestrian_Classification_a_Study_on_Combining_LIDAR_and_Camera_Data>

We can see that they use maximum or minimum rule to combine the outpout of classifiers. So dit it work for multiclass problem? 

[![enter image description here](https://i.stack.imgur.com/TliYj.png)](https://i.stack.imgur.com/TliYj.png)