Deep learning can almost perfectly predict how ice forms