Physics-guided logistic classification for tool life modeling and process parameter optimization in machining