def METHOD_NAME(self):
    """
    Converts records into training data
    """
    cols: Dict[str, Any] = {}
    for feature in self.config.features:
        col = self._feature_feature_column(feature)
        if not col is None:
            cols[feature.name] = col
    return cols