warn on empty iterator to train_iterator and change default endpoint