Creating an 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset