<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _select_features(example, feature_list=None):
 """Select a subset of features from the example dict."""

  feature_list = feature_list or ["inputs", "targets"]
  return {f: example[f] for f in feature_list}