def initialize(self):
    """
    Initialize the self._poolerClass
    """

    # Retrieve the necessary extra arguments that were handled automatically
    autoArgs = {name: getattr(self, name) for name in self._poolerArgNames}
    autoArgs["inputDimensions"] = [self._inputWidth]
    autoArgs["columnDimensions"] = [self._columnCount]
    autoArgs["potentialRadius"] = self._inputWidth
    autoArgs["historyLength"] = self._historyLength
    autoArgs["minHistory"] = self._minHistory

    # Allocate the pooler
    self._pooler = self._poolerClass(**autoArgs)
def initialize ( self ) : autoArgs = { name : getattr ( self , name ) for name in self . _poolerArgNames } autoArgs [ "inputDimensions" ] = [ self . _inputWidth ] autoArgs [ "columnDimensions" ] = [ self . _columnCount ] autoArgs [ "potentialRadius" ] = self . _inputWidth autoArgs [ "historyLength" ] = self . _historyLength autoArgs [ "minHistory" ] = self . _minHistory self . _pooler = self . _poolerClass ( ** autoArgs )
Initialize the self._poolerClass