def _get_parsimonious_model(models):
        """
        Return the most parsimonious model of all available models. The most
        parsimonious model is defined as the model with the fewest number of
        parameters.
        """
        params = [len(model.output["parameters"]) for model in models]
        idx = params.index(min(params))
        return models[idx]
def _get_parsimonious_model ( models ) : params = [ len ( model . output [ "parameters" ] ) for model in models ] idx = params . index ( min ( params ) ) return models [ idx ]
Return the most parsimonious model of all available models. The most
        parsimonious model is defined as the model with the fewest number of
        parameters.