def subselect(self, obj):
return dict(<EOL>(key, value) for (key, value)<EOL>in obj.items()<EOL>if key in self.defaults)<EOL>
Filter a dict of hyperparameter settings to only those keys defined
in this HyperparameterDefaults  .