Physics-Based Machine Learning: Methodology and Application