estimator.Cost.filter

Cost.filter(keys)[source]

Return new ordered dictinonary from dictionary restricted to the keys.

Parameters:
  • dictionary – input dictionary
  • keys – keys which should be copied (ordered)