Model Pusher: Customer Segmentation

GeeksforGeeks · Beginner ·👁️ Computer Vision ·1y ago
Skills: CV Basics60%

Key Takeaways

Introduces a model pusher for customer segmentation using computer vision

Full Transcript

hello everyone welcome to the session so now let's talk about the very last part where we are trying to push our model pickle file inside the S3 bucket I just want to show you how is this happening again we need to specify the bucket name and all those stuffs let's get started and we'll try to see that how these things are happening and then you are good to go right with this particular project and once you will be able to understand this concept again I am saying you will be able to understand further projects very easily so let's get started I'm going inside the start model model Pusher here you can see we are initiating the model Pusher what we are passing we are passing the model trainer artifact the best model file and the model Pusher config file now here you can see that what we are trying to do we are trying to save the model and after that if you will observe here we are specifying the bucket name and the model path bucket name and the model path because we need to pass the that model file inside that particular bucket name which is present inside the S3 bucket so if if I just show you what is the bucket name or where it is specified and the model path you can see what is the model file name model. PK as well as uh if I'll go back and show you what is the bucket name if I'll just click on that and if I'll just show you uh let me show you the bucket name so let me go it manually if it is not clickable you will be easily able to get that uh yeah so here you can see right I have mentioned what is the name of a training bucket name and what is the name of a prediction bucket name although it is not specifically required as of now we are dealing with a training bucket name which is the customer segmentation bucket so we have already defined this bucket inside the S3 bucket so now that model. PK file will go inside this particular pickle file uh this particular bucket okay so let me go back again where was that start model Pusher let me again go inside this sometimes it's not clickable let me go it manually okay so now we will be able to understand right so we will be able to save the model and after that we will be able to push that model Pusher artifact inside the S3 bucket how we will Define the bucket name as well as we will Define the key path inside that that's simple thing that we are doing inside the model Pusher that's it very simple code right so we already have created the model we already have that model. pkl file real purposes of model pushing is that okay if my model is accepted if my model is giving a best predictions if my model is giving a best F1 score accuracy I need to save it somewhere so that I will use that Peele file with whatever bucket name I am specifying for the deployment predictions for the future predictions and that is what we really want to do here by specifying the bucket name and the S3 model key path very simple so this is what we are trying to do here and if you will see now if you will see now if I'll go back to the training pipeline if if finally if this uh this part will be done you can see that exited the Run pipeline method of train pipeline class and this is the real thing that we are doing real method that is running on whenever I'm hitting that so starting the model Pusher uh starting the model evaluation model trainer data transformation data validation data inje so you can see right for every particular uh you know starting from data injection to the model Pusher we are creating a CL class specifically and how we will be able to Define each and every class separately via different different components and then every component has its own purpose and now you clearly know that which particular component will have what kind of purpose so this is all about this project starting from first of all we talked about data inje how it is happened after that we have talked about data validation what's the real purpose of that after that we move towards the data uh I would say transformation where we have seen that clusters happen and we will be able to get a new Target column after that we have seen the model trainer where we will be able to get the best model now you can see how that that is happening after that model evaluation you can see that how the model evaluation happened and what's the real meaning of that and finally the model Pusher so that six in in a way we will be having a six classes six different different you know components where each component has its own specific task and that's the real you know no solution approach that we are trying to do to do the customer segmentation in this project now what I will do in the next upcoming part of the video I will try to demonstrate you that how you will run this file okay so obviously when you are running the uh when you are using mongodb I told you right you have to specify the mongodb URL when you are using S3 bucket right you have to use the Amazon AWS services so for that also you need to specify what is the access name what is the key password for that so I'll try to show you that how you will try to run this file and then what output are we getting that demonstration I will do in the next upcoming part of the video so until so far the videos are basically on the development part that how the major development happened internally now the next part of the video is the demonstration part where we will see that okay once we will be able to develop the files once we will be able to generate these things how our output will look like let's try to understand that part that that part as well and uh let's end this video with this particular note happy leing to all bye-bye everyone

Original Description

Explore Premium LIVE and Online Courses : https://practice.geeksforgeeks.org/courses/ Follow us for more fun, knowledge and resources: 📱 Download GeeksforGeeks' Official App: https://geeksforgeeksapp.page.link/gfg-app 💬 Twitter- https://twitter.com/geeksforgeeks 🧑‍💼 LinkedIn- https://www.linkedin.com/company/geeksforgeeks 📷 Instagram- https://www.instagram.com/geeks_for_geeks/?hl=en 💌 Telegram- https://t.me/s/geeksforgeeks_official Also, Subscribe if you haven't already! :) #GeeksforGeeks #Learntocode #GfG
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from GeeksforGeeks · GeeksforGeeks · 0 of 60

← Previous Next →
1 How I got into Walmart | Shailesh Sharma
How I got into Walmart | Shailesh Sharma
GeeksforGeeks
2 Upgrade yourself In 29 Days | GeeksforGeeks
Upgrade yourself In 29 Days | GeeksforGeeks
GeeksforGeeks
3 Learn AWS Fundamentals For Free
Learn AWS Fundamentals For Free
GeeksforGeeks
4 Conversation With Young Achievers | Meet the winners of Bi-Wizard Coding Contest | GeeksforGeeks
Conversation With Young Achievers | Meet the winners of Bi-Wizard Coding Contest | GeeksforGeeks
GeeksforGeeks
5 Meet The Winners Of Bi-Wizard Coding Contests | GeeksforGeeks
Meet The Winners Of Bi-Wizard Coding Contests | GeeksforGeeks
GeeksforGeeks
6 Interview Prep Strategies | PayPal
Interview Prep Strategies | PayPal
GeeksforGeeks
7 OLX Interview Preparation Strategies | Hukam Singh
OLX Interview Preparation Strategies | Hukam Singh
GeeksforGeeks
8 Meet Some More Winners Of Bi-Wizard Coding Contests | GeeksforGeeks
Meet Some More Winners Of Bi-Wizard Coding Contests | GeeksforGeeks
GeeksforGeeks
9 Live Mock DSA
Live Mock DSA
GeeksforGeeks
10 Microsoft Azure For Absolute Beginners
Microsoft Azure For Absolute Beginners
GeeksforGeeks
11 Python for Data Science | Data Science Master Bootcamp | Arpit Jain
Python for Data Science | Data Science Master Bootcamp | Arpit Jain
GeeksforGeeks
12 Getting Started with Data Analysis | Data Science Master Bootcamp | Ashish Jangra
Getting Started with Data Analysis | Data Science Master Bootcamp | Ashish Jangra
GeeksforGeeks
13 How to prepare theory subjects for SDE interviews | Geeks Summer Carnival 2022
How to prepare theory subjects for SDE interviews | Geeks Summer Carnival 2022
GeeksforGeeks
14 Get Your Tickets To The Geeks Summer Carnival | GeeksforGeeks
Get Your Tickets To The Geeks Summer Carnival | GeeksforGeeks
GeeksforGeeks
15 TED Talk Data Analysis Project | Data Science Master Bootcamp | Ashish Jangra
TED Talk Data Analysis Project | Data Science Master Bootcamp | Ashish Jangra
GeeksforGeeks
16 How I Secured AIR 9 in GATE'22 |  Tushar
How I Secured AIR 9 in GATE'22 | Tushar
GeeksforGeeks
17 Learn Java Backend Development | Geeks Summer Carnival | GeeksforGeeks
Learn Java Backend Development | Geeks Summer Carnival | GeeksforGeeks
GeeksforGeeks
18 How to Recognize which Data Structure to use in a question | Geeks Summer Carnival | GeeksforGeeks
How to Recognize which Data Structure to use in a question | Geeks Summer Carnival | GeeksforGeeks
GeeksforGeeks
19 Learn Data Structures and Algorithms | GeeksforGeeks
Learn Data Structures and Algorithms | GeeksforGeeks
GeeksforGeeks
20 Interview experience at Flipkart | GeeksforGeeks
Interview experience at Flipkart | GeeksforGeeks
GeeksforGeeks
21 Lets Prepare for GATE'23 the Right Way | Sakshi Singhal | GeekSummerCarnival
Lets Prepare for GATE'23 the Right Way | Sakshi Singhal | GeekSummerCarnival
GeeksforGeeks
22 Highest Paying Jobs in 2022 | Ishan Sharma | Geeks Summer Carnival 2022 | GeeksforGeeks
Highest Paying Jobs in 2022 | Ishan Sharma | Geeks Summer Carnival 2022 | GeeksforGeeks
GeeksforGeeks
23 Geeks Summer Carnival 2022 | 5th April- 11th April | GeeksforGeeks
Geeks Summer Carnival 2022 | 5th April- 11th April | GeeksforGeeks
GeeksforGeeks
24 Preparing for SDE interviews | Soham Mukherjee | Geeks Summer Carnival 2022 | GeeksforGeeks
Preparing for SDE interviews | Soham Mukherjee | Geeks Summer Carnival 2022 | GeeksforGeeks
GeeksforGeeks
25 Full Stack Development with React & Node | Utkarsh Malik | Geeks Summer Carnival | GeeksforGeeks
Full Stack Development with React & Node | Utkarsh Malik | Geeks Summer Carnival | GeeksforGeeks
GeeksforGeeks
26 Introduction to Open Source and Roadmap to GSOC 2022 | Geeks Summer Carnival 2022 | GeeksforGeeks
Introduction to Open Source and Roadmap to GSOC 2022 | Geeks Summer Carnival 2022 | GeeksforGeeks
GeeksforGeeks
27 Web Scraping in Action | Geeks Summer Carnival 2022 | GeeksforGeeks
Web Scraping in Action | Geeks Summer Carnival 2022 | GeeksforGeeks
GeeksforGeeks
28 Getting Hired at BITCS via GfG Job Portal | Get Hired With GeeksforGeeks
Getting Hired at BITCS via GfG Job Portal | Get Hired With GeeksforGeeks
GeeksforGeeks
29 How to build a faster landing Page | Geeks Summer Carnival 2022 | GeeksforGeeks
How to build a faster landing Page | Geeks Summer Carnival 2022 | GeeksforGeeks
GeeksforGeeks
30 Geeks Summer Carnival | 5th To 11th April, 2022 | GeeksforGeeks
Geeks Summer Carnival | 5th To 11th April, 2022 | GeeksforGeeks
GeeksforGeeks
31 How to get ideas for Startup | Geeks Summer Carnival 2022 | GeeksforGeeks
How to get ideas for Startup | Geeks Summer Carnival 2022 | GeeksforGeeks
GeeksforGeeks
32 Journey from Tier 3 to JusPay | GeeksforGeeks
Journey from Tier 3 to JusPay | GeeksforGeeks
GeeksforGeeks
33 Geeks Summer Carnival 2022 | GeeksforGeeks
Geeks Summer Carnival 2022 | GeeksforGeeks
GeeksforGeeks
34 Dispelling Myths and Pre conceptions of Programming Languages
Dispelling Myths and Pre conceptions of Programming Languages
GeeksforGeeks
35 Must Do System Design Questions
Must Do System Design Questions
GeeksforGeeks
36 Understanding Sorting Techniques in an hour | Keerti Purswani | Geeks Summer Carnival
Understanding Sorting Techniques in an hour | Keerti Purswani | Geeks Summer Carnival
GeeksforGeeks
37 Get Hired at NEC | Job-A-Thon 8
Get Hired at NEC | Job-A-Thon 8
GeeksforGeeks
38 Journey from Tier 3 college to Microsoft | GeeksforGeeks
Journey from Tier 3 college to Microsoft | GeeksforGeeks
GeeksforGeeks
39 Get Hired with GeeksforGeeks at SuperK | Job A Thon 8
Get Hired with GeeksforGeeks at SuperK | Job A Thon 8
GeeksforGeeks
40 GeeksforGeeks: Redesigned
GeeksforGeeks: Redesigned
GeeksforGeeks
41 From Tier 3 to cracking multiple interviews | GeeksforGeeks
From Tier 3 to cracking multiple interviews | GeeksforGeeks
GeeksforGeeks
42 Live Mock DSA
Live Mock DSA
GeeksforGeeks
43 Youtube Data Analysis | Ashish Jangra | GeeksforGeeks
Youtube Data Analysis | Ashish Jangra | GeeksforGeeks
GeeksforGeeks
44 DSA Self-Paced Course Preview | Sandeep Jain | GeeksforGeeks
DSA Self-Paced Course Preview | Sandeep Jain | GeeksforGeeks
GeeksforGeeks
45 GATE Live Classes | Prepare for GATE CS 2023 | GeeksforGeeks
GATE Live Classes | Prepare for GATE CS 2023 | GeeksforGeeks
GeeksforGeeks
46 Journey from JIIT to Adobe
Journey from JIIT to Adobe
GeeksforGeeks
47 Life Is Unfair Ft. Shonty badmash | LIVE Discord Session | A GeeksforGeeks Exclusive
Life Is Unfair Ft. Shonty badmash | LIVE Discord Session | A GeeksforGeeks Exclusive
GeeksforGeeks
48 Interview Experience at Google | Tech Dose
Interview Experience at Google | Tech Dose
GeeksforGeeks
49 Live Mock DSA
Live Mock DSA
GeeksforGeeks
50 Interview Experience @ Amazon | GeeksforGeeks
Interview Experience @ Amazon | GeeksforGeeks
GeeksforGeeks
51 My journey through the tech world from India to US | Vidushi | GeeksforGeeks
My journey through the tech world from India to US | Vidushi | GeeksforGeeks
GeeksforGeeks
52 Complete Interview Preparation Course | GeeksforGeeks
Complete Interview Preparation Course | GeeksforGeeks
GeeksforGeeks
53 Live Mock DSA
Live Mock DSA
GeeksforGeeks
54 Getting Hired at FiftyFive Technologies | Job-a-thon 9.0
Getting Hired at FiftyFive Technologies | Job-a-thon 9.0
GeeksforGeeks
55 GFG Karlo, Ho Jayega | GeeksforGeeks ft. Khaleel Ahmed
GFG Karlo, Ho Jayega | GeeksforGeeks ft. Khaleel Ahmed
GeeksforGeeks
56 How I got job offers from 2 big companies : Arcesium & Microsoft | GeeksforGeeks
How I got job offers from 2 big companies : Arcesium & Microsoft | GeeksforGeeks
GeeksforGeeks
57 LINUX for Beginners | GFG x Itversity
LINUX for Beginners | GFG x Itversity
GeeksforGeeks
58 My interview experience at Walmart | GeeksforGeeks
My interview experience at Walmart | GeeksforGeeks
GeeksforGeeks
59 Get Hired at Speckyfox
Get Hired at Speckyfox
GeeksforGeeks
60 Live Mock DSA
Live Mock DSA
GeeksforGeeks

Related Reads

📰
Computer Vision: More Than Just Teaching Machines to See
Computer vision is a key aspect of AI that enables machines to interpret and understand visual data, going beyond just teaching machines to see
Medium · Machine Learning
📰
Computer Vision: More Than Just Teaching Machines to See
Discover the breadth of computer vision beyond just image recognition, and its potential applications
Medium · Python
📰
Automatically redact PII in images with Amazon Nova
Automatically redact PII in images using Amazon Nova and complementary tools like SAM 3 and Amazon Textract
AWS Machine Learning
📰
PANet Paper Walkthrough: When Feature Pyramids Go Bottom-Up
Learn how PANet's bottom-up feature pyramid approach improves feature extraction by shortening the path between low-level and high-level features
Towards Data Science
Up next
Marketing management for ugc net| Important topics of marketing management ugc net commerce dec 2023
Bhoomi Learning Centre~Dr. Muskan
Watch →