Regenerate a previously learned model from its parameters.
Subclasses which are not parametric, such as DeepLearning
based models, raise a NonParametricError indicating that
this method is not supported for their implementation.
dict – Model parameters.
NonParametricError – If the model is not parametric or cannot be described
using a simple dictionary.