The benefits of Fog-based Machine Learning in Industrial IoT