src/nupic/data/generators/data_generator.py
def getTotaln(self):
    """Returns the cumulative n for all the fields in the dataset"""

    n = sum([field.n for field in self.fields])
    return n
def getTotaln(self):
    """Returns the cumulative n for all the fields in the dataset"""

    n = sum([field.n for field in self.fields])
    return n
def getTotaln ( self ) : n = sum ( [ field . n for field in self . fields ] ) return n
Returns the cumulative n for all the fields in the dataset
Returns the cumulative n for all the fields in the dataset