Machine Learning in R: Deploy Machine Learning Model using RDS

preview_player
Показать описание
In this video, I will show you how to deploy a machine learning model (a classification model of DHFR dataset) in the R programming language by saving it to disk as a RDS file. Then, we will load back the model by reading the RDS file and make a prediction on the test dataset.

⭕ Timeline
1:10 Sequentially run the code line by line
3:25 Training Model will be saved as RDS file
3:47 Let's save the ML model as RDS file
3:56 saveRDS(Model, "Model.RDS")
4:43 Let's read in the ML model from RDS file
6:08 Let's hit the broom icon to clear the environment
6:20 Re-run the code again line by line
6:38 Time to read in the ML model from RDS file

⭕Data:

⭕Code:

⭕ Playlist:
Check out our other videos in the following playlists.

⭕ Subscribe:
If you're new here, it would mean the world to me if you would consider subscribing to this channel.

⭕ Recommended Tools:
Kite is a FREE AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite and I love it!

⭕ Recommended Books:

⭕ Stock photos, graphics and videos used on this channel:

⭕ Follow us:

⭕ Disclaimer:
Recommended books and tools are affiliate links that gives me a portion of sales at no cost to you, which will contribute to the improvement of this channel's contents.

#dataprofessor #machinelearning #modeldeployment #deployml #deploymachinelearning #datascienceproject #learnr #rprogramming #learnrprogramming #datascience #datamining #bigdata #datascienceworkshop #dataminingworkshop #dataminingtutorial #datasciencetutorial #ai #artificialintelligence #r #rds #readrds #saverds
Рекомендации по теме
Комментарии
Автор

QUESTION OF THE DAY: Have you tried deploying your ML model as an RDS file before? Comments down below! 😃
💗Help support this YouTube channel by hitting the Subscribe button, Like button and Comment down below! 👇

DataProfessor
Автор

Great video!!!
Your explanations are thorough and easy to follow. Thank you.

richardnandoo
Автор

Thank you for explaining how to deploy data models. Would you also like to share how to manage data science/machine learning models after the deployment? That would be really helpful. I am looking forward to seeing your next videos. :-)

mareikehaeussler
Автор

All Your videos are simply Awesome & Well Explained!! kindly upload videos for ANOVA, Variable Reduction, KNN.. It will be useful.. I Hope I will learn Data Science Soon!! Thank You 😊

kanimozhipanneerselvam
Автор

Hi Chanin and thank you for your great videos! Are u planning on making some regarding data preparation/pre-processing for ML? Or actually a video where, using a dataset, u face, step by step, the problems of ML (data analysis, data visualization, feature selection, ...)? I think it would be very very interesting :)

marcofestu
Автор

Very Informative video.
I have one question. I have trained RF model using caret package and saved the final model as '.rds' file. Now, after closing the program, I again read the saved model, but the prediction is not working. There is following error: "Error in UseMethod("predict") :
no applicable method for 'predict' applied to an object of class "randomForest""
I am confused now!! Can you help?

NavdeepAgrawal
Автор

Thats a very good video. I am an R user and was searching for this. Now if we want to deploy this as an API then how we can do that. thanks.

harishnagpal
Автор

What is pmml deployment in r ?
Please share this in your playlist dear professor.

saisudha
Автор

Hi, I have been trying to build a 6 fold CV model for a dataset having 1.4 Lakh observations and 8 variables. It's taking forever, please suggest are there any ways to do this better.

arnavsaketh
Автор

Is RDS in R same as pickle in python ?

Nirkan
visit shbcf.ru