def get_best_n(self):
        """Returns the n that maximizes score(ensemble[:n]).

        Should only be called after model.fit() has finished.

        """
        return self._best_score_i + 1
dataset/ETHPy150Open jma127/pyltr/pyltr/models/monitors.py/ValidationMonitor.get_best_n/original