- self._features[section]['numerical'] = config[section].getboolean('numerical')
- self._features[section]['categorical'] = config[section].getboolean('categorical')
+ for feature in self._features:
+ if feature.split('_')[0] == section:
+ self._features[feature]['binary'] = config[section].getboolean('binary')
+ self._features[feature]['categorical'] = config[section].getboolean('categorical')
+ self._features[feature]['numerical'] = config[section].getboolean('numerical')