def predict(features, model):
    """
    Generate predictions from features and model.

    .. versionadded:: 0.5.0

    Parameters
    ----------
    features : ndarray
        Features from which to generate predictions

    model : ndarray
        Regression model.

    Returns
    -------
    predicted : ndarray
        Predictions generated from features using model.
    """
    return features.dot(model)