@classmethod
def _from_json_MNL(cls, json_dict, solver, fit_intercept, est_stderr,
    reg_method, alpha, l1_ratio, coef, stderr, tol, max_iter):
    """
        Helper function within the construct the CrossEntropyMNL used by _from_json.
        This function overrides parent class.
        Parameters
        ----------
        json_dict : the dictionary that specifies the model
        solver: specific solver for each linear model
        fit_intercept: boolean indicating fit intercept or not
        est_stderr: boolean indicating calculte std.err of coefficients (usually expensive) or not
        tol: tolerence of fitting error
        max_iter: maximum iteraration of fitting
        reg_method: method to regularize the model, one of (l1, l2).
                    Need to be compatible with the solver.
        alpha: regularization strength
        l1_ratio: the l1 alpha ratio
        coef: the coefficients
        stderr: the std.err of coefficients
        Returns
        -------
        CrossEntropyMNL object:
            a CrossEntropyMNL object specified by the json_dict and other arguments
        """
    return cls(solver=solver, fit_intercept=fit_intercept, est_stderr=
        est_stderr, reg_method=reg_method, alpha=alpha, l1_ratio=l1_ratio,
        coef=coef, stderr=stderr, tol=tol, max_iter=max_iter, n_classes=
        json_dict['properties']['n_classes'])
