Hard machine learning can predict hard materials