Making Smart Factories Smarter: Combining the Power of IoT Analytics, Machine Learning, and Edge Computing