Watch this video on YouTube
What is the primary role of an activation function in neural networks used in Spark ML?