Physics-based machine learning for fatigue lifetime prediction under non-uniform loading scenarios