Instead of accessing data from the `original_page_`, access the data from the first page of the available batch. fix #7476 Co-authored-by: jiamingy <jm.yuan@outlook.com>
* Use correct pointer. * Remove best_iteration/best_score.
* Add Python iterator interface. * Add tests. * Add demo. * Add documents. * Handle empty dataset.