Before we can train an ML model, we need to create an RDD where each element is a labeled point. In this recipe, we will use the final_data RDD we created in the previous recipe to prepare our RDD for training.
Before we can train an ML model, we need to create an RDD where each element is a labeled point. In this recipe, we will use the final_data RDD we created in the previous recipe to prepare our RDD for training.