Electric Vehicles Plug-In Duration Forecasting Using Machine Learning for Battery Optimization