<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def compute(self, inputVector, learn, activeArray):
 """ This method resembles the primary public method of the SpatialPooler class. """

        super(SpatialPoolerWrapper, self).compute(inputVector, learn, activeArray)

        self._updateAvgActivityPairs(activeArray)