Apache Spark has a library for different types of machine learning models. In this tutorial, we will talk about how to use Databricks to implement the spark ML linear regression model. We will cover:
👉 What's the difference between Spark MLlib and Spark ML?
👉 How to process the data in the right format?
👉 How to fit a Spark ML linear regression model?
👉 How to evaluate model performance?
👉 How to save the model?
👉 How to make predictions for new data?
⏰ Timecodes ⏰
0:00 - Intro
0:28 - Step 0: Spark MLlib Vs. Spark ML
0:59 - Step 1: Import Libraries
1:24 - Step 2: Create Dataset For Linear Regression
2:01 - Step 3: Train Test Split
2:31 - Step 4: Vector Assembler
2:46 - Step 5: Fit Spark ML Linear Regression Model
3:27 - Step 6: Model Performance Evaluation
4:24 - Step 7: Save Model
4:48 - Step 8: Make Predictions For New Data
5:11 - Summary
❤️ Blog post with code for this video
/ databricks-linear-regression-with-spark-ml
📒 Databricks Notebook: https://mailchi.mp/d093169f09b0/9a8dt...
🚛 GrabNGoInfo Machine Learning Tutorials Inventory: / grabngoinfo-machine-learning-tutorials-inv...
🏪 Purchase data science and computer science themed products in my Amazon store: https://amzn.to/40HUTsl
✅ Join Medium Membership: If you are not a Medium member and would like to support me to keep creating free content (😄 Buy me a cup of coffee ☕), join Medium membership through this link: / membership
You will get full access to posts on Medium for $5 per month, and I will receive a portion of it. Thank you for your support!
🧱Databricks Tutorial Playlist
• Databricks Mount To AWS S3 And Import...
🔥 Check out more machine learning tutorials on my website!
https://grabngoinfo.com/tutorials/
📣 Speech software used in the video: Descript https://www.descript.com/?lmref=h7XYQw
📧 CONTACT me at [email protected]
#databricks #machinelearning #datascience #grabngoinfo