Add produce_methods attribute in Primitive Hyperparameter
Currently the Primitive hyperparameter has two attributes algorithm_types and primitive_families.
We should add a new attribute called produce_methods which would filter primitives based on the methods they contain.
Why this proposal:
In Sklearn, we have primitives that accept a base estimator as a hyperparameter. The wrapper would accept a D3M Primitive as the base estimator and then reverse wrap into the sklearn interface (fit, predict, etc) but sklearn expects there to be a property called feature_importances()[0].
By adding the produce_methods attribute to the Primitive Hyperparameter we can restrict the values provided to this sklearn wrap to those Primitives containing the required methods.