@staticmethod
def predict(params, context):
    """Given a set of parameters and a context, return the resulting sum of square error.

        Parameters
        ----------
        params : list
            1 dimensional array of parameters
        context : dict
            Dictionary of arguments/keyword arguments to pass to functions

        Returns
        -------
        float
        """
    raise NotImplementedError(
        'The `predict` method not implemented. Create a subclass of OptimizerBase with `predict` overridden to use it'
        )
