featuremapper/__init__.py
def update(self, new_values, feature_value_permutation):
        """Add a new matrix of histogram values for a given bin value."""
        index = ()
        for f in self.features:
            for ff, value in feature_value_permutation:
                if (ff == f.name.lower()):
                    index = index + (f.values.index(value),)
        self.full_matrix[index] = new_values.copy()
Add a new matrix of histogram values for a given bin value.
Add a new matrix of histogram values for a given bin value.
Add a new matrix of histogram values for a given bin value .
def update(self, new_values, feature_value_permutation):
        index = ()
        for f in self.features:
            for ff, value in feature_value_permutation:
                if (ff == f.name.lower()):
                    index = index + (f.values.index(value),)
        self.full_matrix[index] = new_values.copy()
def update ( self , new_values , feature_value_permutation ) : index = ( ) for f in self . features : for ff , value in feature_value_permutation : if ( ff == f . name . lower ( ) ) : index = index + ( f . values . index ( value ) , ) self . full_matrix [ index ] = new_values . copy ( )
Add a new matrix of histogram values for a given bin value.
Add a new matrix of histogram values for a given bin value .
"""Add a new matrix of histogram values for a given bin value."""
self
new_values
feature_value_permutation