Wave-by-wave prediction for spread seas using a machine learning model with physical understanding