def get_suggestions(self, iteration_config=None):
matrix = self.hptuning_config.matrix<EOL>suggestions = []<EOL>keys = list(matrix.keys())<EOL>values = [v.to_numpy() for v in matrix.values()]<EOL>for v in itertools.product(*values):<EOL><INDENT>suggestions.append(dict(zip(keys, v)))<EOL><DEDENT>if self.hptuning_config.grid_search:<EOL><INDENT>n_suggestions = self.hptuning_config.grid_search.n_experiments<EOL>if n_suggestions:<EOL><INDENT>return suggestions[:n_suggestions]<EOL><DEDENT><DEDENT>return suggestions<EOL>
Return a list of suggestions based on grid search.

        Params:
            matrix: `dict` representing the {hyperparam: hyperparam matrix config}.
            n_suggestions: number of suggestions to make.