Code & Dataset for practice: github.com/pik1989/MLProject-ChurnPrediction Also watch, Churn Analysis dashboard creation using Power BI: Part 1: kzbin.info/www/bejne/eqPcl6Bvi8Z4rZY Part 2: kzbin.info/www/bejne/o3KzlIqVjqmIgbM
@WOW-vn5jd3 жыл бұрын
can i get ppt of this ?? or can you tell how w can make such a wonderfull ppt on telecom customer churn like this ??
@VenuGopal-dr8ln2 жыл бұрын
Thanks a lot 🎉🎉
@SatyajitPattnaik2 жыл бұрын
@@WOW-vn5jd Canva 😁
@jahangagan53962 жыл бұрын
Didn't get the insights that you find from describe() method like 75% clients have 55 months tenure and 25% clients pay some USD
@depeshkumarmohanty95222 жыл бұрын
@@jahangagan5396 i thnk 25 is wrongly typed it should be 75
@AbhirupBhattacharya Жыл бұрын
This channel is one of the best I've come across for ML, Data Analysis and Python. The level of content uploaded here is so remarkable. Thank you so much Sir. ❤
@ZepAnalytics Жыл бұрын
😊
@srijanakhatri7854 Жыл бұрын
Hello, I wanted to thank you. I got the job as data analyst. In the technical interview, I was asked to do any dummy projects and walk through the process .I used this data and topic of churn analysis and did similar project like yours with the help of your code. I used Power for data visualization and used python for data modeling for the same data and was able to impress the interviewers . I also had the theoretical knowledge on what I was doing but I am not good at technical stuff because all I learnt in the school was to calculate eigen-value, PCA, manually, definition of p-value and regression analysis😂😂. I can understand what the code is doing but if I have to code,I will spent all day on youtube. Its my second day on job but I don't have proper understanding of relational database. They are using Powerbi and SSMS together for the daily reports and all. I need to sustain on the job😂😁 Please advise me with the link of videos if you have made on SQL,powerbi, and python on how they are working together.
@SatyajitPattnaik Жыл бұрын
Check my playlists, there are videos on power bi and sql too (end to end)
@anant_gpt Жыл бұрын
@srijanakhatri7854 can you please guide me how to go on as i am someone who is starting from scratch
@sameerpandey55613 жыл бұрын
One of the best End to End ML project explanation and implementation I have seen till now.... Thank you @Satyajit for taking out your time and preparing such a wonderful video for us...
@SatyajitPattnaik3 жыл бұрын
Thanks, that keeps me motivated.
@sachin-ll1by3 ай бұрын
it felt so real life...like i am a da in an company and my manager is giving us walkthrough of the project...kudos
@sandeepthukral30183 күн бұрын
Hi, is this industry level project for data scientist?
@animeshtalukdar185217 күн бұрын
Thank you for providing such a detailed and clear explanation for this data science project. I am learning data science using Gemini and your videos, and I am so happy to have found you as a resource.
@rishabsharma71143 жыл бұрын
The best end-to-end machine learning project. I have learnt a lot from this video. Thank you, sir.
@SatyajitPattnaik2 жыл бұрын
Thanks Rishab
@PriyankaKumari-of7se2 жыл бұрын
Wow, you really have put in great effort to make such a detailed video. Thanks a ton! Keep sharing your knowledge 🙂
@surajghogare89312 жыл бұрын
Highest way of teaching.. U covered each and every minute details in just one project.... 🙏thanks
@SatyajitPattnaik2 жыл бұрын
Thanks a lot..
@tonynikolaos3527 Жыл бұрын
I am at half the lecture and can not contain my gratitude: Totally awesome lecture and explanations! Please do other lectures related to ML- you have rare gift to impart understanding. Million Thanks! God Bless!
@subramanialatentview1542 Жыл бұрын
Really an awesome lecture looking forward for more valuable content
@anirbansarkar63063 жыл бұрын
Thank you so much Satyajit for this wonderful end-to-end full tutorial. That was really helpful.
@SatyajitPattnaik3 жыл бұрын
Thanks Anirban
@mohitpandey51903 жыл бұрын
Hi Satyajit, I believe performing resampling on entire data might be responsible for data leakage since some of the resampled examples will be the part of both training and testing datasets now contributing to a high F1 score.
@SatyajitPattnaik3 жыл бұрын
Yes, that's a mistake I did here, you can do resampling on training data instead of the full data, I already acknowledged it in some other comment 👍
@mohitpandey51903 жыл бұрын
Noted @@SatyajitPattnaik, Make sense. Amazing work on churn modeling 🙌🏼
@abhishekpatra5020 Жыл бұрын
Wonderful explanation. Love how you get into detail wrt business understanding and coding
@dilakshaaveesh4360 Жыл бұрын
Really appreciate your effort best project explanation so far for me ! Thank you !
@chr11123 жыл бұрын
thank you for the tutorial you are really amazing and really have a gift to teach. Keep the good work up
@SatyajitPattnaik3 жыл бұрын
Thanks for your kind words 👍
@AIMLOdeysey3 жыл бұрын
Thank you Satyajit. The sessions was very informative and helpful!!
@SatyajitPattnaik3 жыл бұрын
Thanks Sainath
@akhileshkushwaha65962 жыл бұрын
X_resampled, y_resampled = sm.fit_sample(x,y) become X_resampled, y_resampled = sm.fit_resample(x,y) thanks for the video
@riyatiwari47672 жыл бұрын
Finding telecom domain projects on youtube are very difficult. Thank you for sharing..Please share more end to end projects focused on telecom domain..
@SatyajitPattnaik2 жыл бұрын
Definitely
@riyatiwari47672 жыл бұрын
Please bring projects which can be showcased on CV. Like..customer segmentation, customer retention, customer call anlysis.It would be very helpful. Thanks for ur work!
@SatyajitPattnaik2 жыл бұрын
@@riyatiwari4767 noted, pls wait for 2 weeks, you would see new Telecom projects 🔥🔥
@erukullasrikanth153 жыл бұрын
Amazing work..clear explanation of EDA and explaining insights by analysing...Keep doing more end to end ML projects for us in different domains.. thank you
@SatyajitPattnaik3 жыл бұрын
Thanks Srikanth.
@depeshkumarmohanty95222 жыл бұрын
@@SatyajitPattnaik thanks sir and please do one more end to end ml project like this in a different domain.
@SatyajitPattnaik2 жыл бұрын
@@depeshkumarmohanty9522 Already done, pls search "end to end satyajit" you will get more projects
@mugen055 ай бұрын
Very great project and explanation! Thank you! ❤
@kirankumar-ir5ir10 ай бұрын
Big fan for ur efforts and explanation. I feel motivated from u
@jaideepsingh81092 жыл бұрын
Thank you brother, You saved me from failing my assignment. You are really a Savior sent by god.
@SatyajitPattnaik2 жыл бұрын
Thanks Jaideep ☺️😍
@bilalahmad37302 жыл бұрын
What a Great project, thanks Sir
@iamdare2 жыл бұрын
Thank you for this, I really learnt a lot
@SatyajitPattnaik2 жыл бұрын
Great to hear this 😁
@a2sirmotivationdoses7823 жыл бұрын
Thanks for the amazing End To End Explanation...... Sir can you please make a video playlist on Speech To Text Machine learning Model building from Scratch?
@SatyajitPattnaik3 жыл бұрын
Sure, will do 👍
@ManigandlaSanjay-uo1dk10 ай бұрын
'SMOTEENN' object has no attribute 'fit_sample' and name 'X_resampled' is not defined can you explain the error and correct answer sir please
@ManigandlaSanjay-uo1dk10 ай бұрын
Sir please reply
@SatyajitPattnaik9 ай бұрын
its changed to "fit_resample", please use chatGPT for faster resolution :)
@gauravmore85782 жыл бұрын
Hey, I'm getting this error What am I doing wrong? ValueError: X has 65 features, but RandomForestClassifier is expecting 50 features as input.
@ittaboyinaharshithayadav77592 жыл бұрын
Yeah me too...could u please help..In Webpage i'm getting the error as internal server error and in anaconda prompt Value error as: X has 51 features,but RandomForestClassifier is expecting 50 features as input...
@ittaboyinaharshithayadav77592 жыл бұрын
I'm not getting the error always but 3 in 5 times..for the 2nd input i'm getting the output but for 1st i'm getting the error
@gauravmore85782 жыл бұрын
@@ittaboyinaharshithayadav7759 Did you manage to get output ?
@harshilshah96282 жыл бұрын
@@gauravmore8578 were you able ro solve it..?
@ittaboyinaharshithayadav77592 жыл бұрын
@@gauravmore8578 No..I'm not getting the output everytime...for most of the cases I'm getting Value error: X has 51 features, but randomforestclassifier expecting 50 has input...
@ashwinin6332 жыл бұрын
Hi actually I am having doubt how to handle the imbalanced data set like having only two col x and y and y is having both Pos and negative values in it how to approach with it I tried transforming x to log x and many more but didn't worked
@AshishSingh-po5sh2 ай бұрын
Project explanation is great, just one problem, when u applied smoteenn before splitting train and test data, u r getting 92% accuracy through wrong approach, on correcting this , accuracy comes down below 80%, if u could fix this issue.
@varunmalhotra666 Жыл бұрын
I am getting error while implementing SMOTENN....when I am running it is giving me error 'nonetype' object has no attribute 'split'. Kindly help me to solve this error I am stucked
@raghavverma10942 жыл бұрын
what an amazing video..thanks for it
@traeht2 ай бұрын
I noticed one thing. You applied SMOTEENN function on the train and test data. Applying SMOTEENN function on the test set and later calculating f1 score, recall etc from predictions made from the test set does not give the correct results. When I didnt apply SMOTEENN to the test set my results were actually very similar to the decision tree classifier score calculated on data without SMOTEENN function. What makes sense is applying SMOTEENN only to the train data and not test data.
@SatyajitPattnaik2 ай бұрын
@@traeht yes thats a good observation, i did that mistake, balancing out should be done for training data only
@KumarHemjeet3 жыл бұрын
You have label encoded the data before splitting the data into test and train that is why you are getting such high precision and recall. There is data leakage here.
@hssp15342 жыл бұрын
But isn't that normal to do
@lakshmikanth19883 ай бұрын
Hi how tenure_group hot coded into dummies? and how it generated 0's and 1's
@anggifirdiansaputra6615 Жыл бұрын
Hello, thanks for making an interactive video. However, I advise reducing the size of the title of the video section, such as the Model Deployment title. It's very distracting and I can't see what you're doing because it's obscured by the title of the video section🙂
@SatyajitPattnaik Жыл бұрын
Its a very old video of mine, checkout my channel for some latest end to end projects 😀
@iramkhan40142 жыл бұрын
This is a great project and I got to learn a lot from it. I wanted to ask will this be a good project for my final year dissertation?
@SatyajitPattnaik2 жыл бұрын
Yes surely
@muskanpiplani87 Жыл бұрын
Hi, i would want to know the procedure of what tweak in code for next 3 month churn prediction you were talking about
@doitsecretely79302 жыл бұрын
ValueError: X has 52 features, but DecisionTreeClassifier is expecting 50 features as input. How to Fix this problem , please?
@SatyajitPattnaik2 жыл бұрын
The error message is quite clear, you must be passing some value that is not present in original data, hence once you are doing encoding a new feature is getting generated hence you got 2 extra features
@VenuGopal-dr8ln3 жыл бұрын
Hi, Every industry have predicting wheather a person churn or not churn how about making this project more realistic with prescriptive analytics by converting churn customer into non churn and if person is already a churn by providing him to good premium to convert churn customer into non churn customer..it will be helpfull to entire community..please make video on this
@SatyajitPattnaik2 жыл бұрын
Good suggestion, but the part you explained is really difficult to implement as it's need cost analysis and ROI calculation, and it needs sales team involvement too, which is really difficult to show.
@VenuGopal-dr8ln2 жыл бұрын
@@SatyajitPattnaik thanks for ur reply please can u make video on reinforcement learning on banking or insurance data it will helpfull for aspiring data scientist .hope that video soon 🎉
@SatyajitPattnaik2 жыл бұрын
@@VenuGopal-dr8ln Reinforcement learning is a huge topic, let me know a specific topic that you want, and I can make a video on it.
@VenuGopal-dr8ln2 жыл бұрын
@@SatyajitPattnaik I have idea in customer retention in financial industry but i don't know how to implement reinforcement learning although it requires huge data ...my idea is to implement prescriptive analytics in churn prediction ..it needs normal any ensemble algorithm to predict churn or non churn customers then taking churn customer data we implement some prescriptive analytics by before customer going to churn we will recommend some premiums to them then using LSTM models and reinforcement learning and time series ..LSTM needs because we need to focus on customer past behaviour with the company and time series needs because it's customers travel how loyal they are with company and finally reinforcement learning needed because we need to train our model cantinously with the data then model learn it self for future data
@knightbliss13 жыл бұрын
Hi Satyajit. .In addition to predicting whether a customer churned out or not, we can also predict when the customer is going to churn out for e.g. 6 months /9 months etc. How can we accomplish that?
@SatyajitPattnaik3 жыл бұрын
There's a column called as tenure, so if you are testing the model on customer X and he's in the system for 24 months, just pass tenure as 30 for that customer and u will get the results for that customer if he's going to be churned in next 6 months or not.
@user-mh2to4bq6y10 ай бұрын
having problem while running it, could you please help me out. while running app.py error occur in browser.... Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
@SatyajitPattnaik10 ай бұрын
Pls go through comments, many had this issue because of the input that they pass
@230489shraddha2 жыл бұрын
Thanks a lot for this session Satyajit .... I have a doubt that how data scientists typically finalise a machine learning model for a given problem since there are many machine learning models available?
@SatyajitPattnaik2 жыл бұрын
The model that predicts better on test data is fine tuned and pushed into production to get tested on live data, further the results are evaluated by sales and various teams, they give feedbacks whether the model is actually doing good or not, and then further remodelling is done, it's a long process
@user-bj7mk1oz5l Жыл бұрын
hi sir, i am anu, recently i joined in data analyst course, your video's are very help full for me i am facing issue on after installing masked rcnn then i fail to importing "from mrcnn import model as modellib " kindly resolve the issue, thank you
@SatyajitPattnaik Жыл бұрын
Whats the error?
@user-bj7mk1oz5l Жыл бұрын
@@SatyajitPattnaik thanks for reply AttributeError Traceback (most recent call last) in () 1 from mrcnn.config import Config 2 from mrcnn import utils ----> 3 import mrcnn.model as modellib 4 from mrcnn import visualize 5 from mrcnn.model import log /usr/local/lib/python3.10/dist-packages/mrcnn/model.py in 253 254 --> 255 class ProposalLayer(KE.Layer): 256 """Receives anchor scores and selects a subset to pass as proposals 257 to the second stage. Filtering is done based on anchor scores and AttributeError: module 'keras.engine' has no attribute 'Layer' i search on stack overflow it tells about all instances keras application KE is changes to KL but i don't understand how to fix it
@genuinelag99366 ай бұрын
ValueError ValueError: The feature names should match those that were passed during fit. Feature names unseen at fit time: - Contract_Month-to-month - DeviceProtection_No - MultipleLines_No phone service - OnlineSecurity_No - PaperlessBilling_Yes - ... Feature names seen at fit time, yet now missing: - MonthlyCharges - SeniorCitizen - TotalCharges How do i resolve this
@anushkasaraswat18137 ай бұрын
thank you so much for this video
@nitishsantpur24122 жыл бұрын
Hi how can we compare two float numbers in python with greater than operation I am getting error saying >= is not a function in numpy?
@user-rp5ce5od4x Жыл бұрын
I run project and i gave input to the fields,it does not showing any output
@Masterkey.181828 күн бұрын
did you solve the issue?
@nik.editz2561 Жыл бұрын
Hi..Satyajit ,can you make a video how anyone get fresher datascientist job in industry....and another question is,Are you from Odisha ?????
@SatyajitPattnaik Жыл бұрын
Sure i can make a video, and yes i am from Odisha
@saimanohar48303 жыл бұрын
Hi Satyajit. Nice End-to-End project. Could you let us know when we need to do Hyper-parameter tuning, and why is it required.
@SatyajitPattnaik3 жыл бұрын
Once you build your prototype model, and want to take a further step in enhancing the model, you might have to do hyperparameters Optimization....
@sarfrazjaved3303 жыл бұрын
Hyper parameter tuning is required to reduce the variance. With introducing small amount of bias we are able to reduce variance to a large extent.
@SatyajitPattnaik3 жыл бұрын
@@sarfrazjaved330 Spot on 👍👍
@abdulhamidpatel2305 ай бұрын
Hey there love you teaching skills... I have a question that the EDA steps used over here can we use it as the base for different DS projects or there is something different
@SatyajitPattnaik5 ай бұрын
Same 😀
@debdutesarkar63702 жыл бұрын
Sir As i am from Pharmaceutical sales background,is it possible make a video on end to end Business Analytics project on pharmaceutical company used cases like ur very nice Telecom project,it would be very helpful for us.
@SatyajitPattnaik2 жыл бұрын
there are some healthcare case studies on my channel
@priyankahello8849 Жыл бұрын
Awesome video!
@snehalpophale6287 Жыл бұрын
Very very helpful!!
@harshithayadavittaboyina73902 жыл бұрын
@Satyajit Pattnaik Thanks a lot for helping out and providing the vedio for college project..but I'm getting an error at the last...after submitting the user values in webpage..I'm getting the error as internal server error and the same in Anaconda prompt..I'm getting the Value error : X has 51 features,but RandomForestClassifier is expecting 50 features as input...But I'm not getting the error always but mostly...for 1st input given in CSV file I'm getting the output but for 2nd input I'm getting the output...I followed the same code given in github...could u please help..
@harshithayadavittaboyina73902 жыл бұрын
Sorry,for 2nd input in CSV file I'm getting output,but for 1st input I'm getting Value Error and internal server error
@harshilshah96282 жыл бұрын
@@harshithayadavittaboyina7390 Hey, did you find the solution as i am facing same kind of issue..
@shivangiagrawal36138 ай бұрын
I wouldn't say I liked it because clicking shift enter doesn't give the idea of the actual things, though you have code written already but you could have explained the relevance of using certain functions in the code, . This way Its difficult to gather understanding for the future projects and strong fundamentals.
@zephyrindia51733 жыл бұрын
Lovely project..
@pardhuparvataneni17543 жыл бұрын
why is cross validation not performed while building the model. Is there any criteria that you have considered to not use CV.
@SatyajitPattnaik3 жыл бұрын
A lot of things can be done in this model, this is not the most optimized model, like you said CV can be performed, other feature engineering steps plus hyperparameters Optimization can also be done.
@digitalnomad2196 Жыл бұрын
For deployment can you please explain what is in df_1 ? and why you concat with new_df to create df_2. I am working on a similar project with this data set.
@digitalnomad2196 Жыл бұрын
When I check that df_1 'first_telc.csv'. It has 19 columns and 75 rows ? can you please explain where this comes from
@digitalnomad2196 Жыл бұрын
and why you concat this with the data coming from the user ?
@shrinathlanjudkar74903 жыл бұрын
How can we apply Artifical Intelligence , eager and lazy learning in it, finding common patterns in it
@SatyajitPattnaik3 жыл бұрын
You can read more about eager and lazy learning, the algo used here in this use case is probably DecisionTree if I recall correctly, and DT is basically a eager learner. So how the learning happens is something that is internal to the algorithm, to know more about it, you have to dig in to the model's base codes, here we are just implementing the algorithm and performing our predictions. I hope you got my point, for example, if u want to know why Decision Trees are called eager Learners, you will have to check how a decision tree is implemented and what's the code within the algos. A link which can help you: towardsdatascience.com/machine-learning-classifiers-a5cc4e1b0623 In case you still have the doubts, we can probably connect over LinkedIn.
@datascienceworld Жыл бұрын
Can any of you please tell me what is the difference between monthly charges and total charges? Thanks in advance.
@SatyajitPattnaik Жыл бұрын
In the telecom churn dataset, "Monthly Charges" refers to the total amount charged to the customer for their telecom services each month , while "Total Charges" refers to the total amount charged to the customer over the entire duration of their service with the telecom company .
@datascienceworld Жыл бұрын
@@SatyajitPattnaik Thanks a lot.
@suyoghole35012 жыл бұрын
hey man create an recommendations engine to the people not get churn recommended something so they got customers back N already have they get more interested
@SatyajitPattnaik2 жыл бұрын
Sure, will build one
@anepomnjashiy2 жыл бұрын
At first, thank you a lot for this video! At second )))) - can you provide a subtitles for it?
@SatyajitPattnaik2 жыл бұрын
Well, it's in English already, let me know if you're facing any difficulties
@anepomnjashiy2 жыл бұрын
Yes, I'm experience some difficulties with understanding the pronunciation. You would be so kind if allow subtitles in this video. Thank you, again for this great content!
@sandeepthukral30183 күн бұрын
Hi, is this industry level project for data scientist?
@SatyajitPattnaik3 күн бұрын
@@sandeepthukral3018 yes, i have deployed similar application in 2 of my previous companies, however the complexity in real production level projects is immense
@iqballatifable3 жыл бұрын
thank you for the tutorial, i have a question, when im running all your code, ValueError: X has 64 features, but DecisionTreeClassifier is expecting 45 features as input. can you explain it? thank you
@SatyajitPattnaik3 жыл бұрын
Shouldn't be, can u check again, many people are using this, And it works fine. If u can't figure out, upload your code on GitHub, share me the link and tell me which line is it failing..
@iqballatifable3 жыл бұрын
Ok I will check it again, I hope running well like others, thank you very much
@iqballatifable3 жыл бұрын
@@SatyajitPattnaik Your code is awsome, it's really work finally, thank you very much
@SatyajitPattnaik3 жыл бұрын
@@iqballatifable thanks Iqbal, do share my channel with your friends & colleagues 🔥🔥
@ashwathvinod5163 жыл бұрын
@@iqballatifable I too got same error how did you resolve it
@srujankumar18383 жыл бұрын
Hi Satyajit, thank you well-done project. I had a data science interview this week can I take this end-to-end project to present in front of the interviewer?
@SatyajitPattnaik3 жыл бұрын
Ofcourse you can..
@susantakumarsahoo19822 жыл бұрын
@@SatyajitPattnaik are you from odisha??
@SatyajitPattnaik2 жыл бұрын
@@susantakumarsahoo1982 yes
@chaitu0372 жыл бұрын
Even am planning for the same. Thank you for the indepth explanation.
@mrgroom8108 Жыл бұрын
Hello sir, Can I know the ML model of which you are using like linear regression, logistic regression, random forest
@DilipKumar-ww5si3 жыл бұрын
Hi Satyajit, Thank you for your detailed steps to implement End-to-End ML with deployment. I have few questions, can you please clarify? Please explain the usage of the following lines df_1=pd.read_csv("first_telc.csv") # how did you get this file "first_telc.csv? df_2 = pd.concat([df_1, new_df], ignore_index = True) single = model.predict(new_df__dummies.tail(1)) # as per this line, you are considering only the input which we enter from html so, df_1, df_2 steps may not be required. If I just process the input from html using pd.get_dummies and then do model.predict , this will be enough for prediction. Am I correct? Any how, Thank you once again for your contribution
@DilipKumar-ww5si3 жыл бұрын
Hi Satyajit, I found the reason for using 'first_telc.csv' and the above clarifications which I raised. I have figured it out, you have to use some sample data and then add your input data because, then only all combination of categorical values are covered and it will be converted into equal number of columns as compared with Analysis file using pd.get_dummies. To match 51 columns, you are loading that csv file. However to predict, you are using only the last row (tail) which is entered by user in UI. Thanks a lot.
@thingsicando96622 жыл бұрын
Okay a
@bilalahmad37302 жыл бұрын
@@DilipKumar-ww5si very helpfull, Thanks
@mutasimahmed89752 жыл бұрын
can you give exact pre reqrusite for this projects ? so i learn and directly do this project
@SatyajitPattnaik2 жыл бұрын
Python, Stats, Machine Learning is what you need to learn.
@shrutimadan44513 жыл бұрын
After training the model , you have shown the accuracy on test data i.e 93% but how we can get churn/Not churn against that in test dataset, not through API but in the python only
@SatyajitPattnaik3 жыл бұрын
Yes, we can get it, just run the entire test data in a loop, and append the prediction score in a new column, for ex: df["Prediction"] = model.predict_proba(X_test) Just giving you ideas..
@shrutimadan44513 жыл бұрын
@@SatyajitPattnaik Thanks for the clarification. I will try that . One more ques . - We have done the correlation part, so where we used that? those variables which were not affecting the target variable can be deleted before model building.. Please let me know if i m thinking in right way ? Or correct me if i m wrong. would be really helpful.
@shrutimadan44513 жыл бұрын
Thanks for the clarification. I will try that . Two more ques . - 1.We have done the correlation part, so where we used that? those variables which were not affecting the target variable can be deleted before model building.. Please let me know if i m thinking in right way ? Or correct me if i m wrong. would be really helpful. 2.max_depth=6, min_samples_leaf=8 , how we have decided this in this e.g. ?
@bikramaditya18552 жыл бұрын
Asking if u. Have any playlist for the very first things of excel, Powerpoint or ms word. If u have, than pls provide me with the link.
@x_x35573 жыл бұрын
Sir, can you please tell what is the use of concatenating df1 with the input queries ?
@SatyajitPattnaik3 жыл бұрын
To test the model on a new data, I am just capturing the input values in a new dataframe and then calling model predict on that dataframe
@digitalnomad2196 Жыл бұрын
anyone get else get a blank page when they press submit their values on the flask part. The results don't print for me
@rakshitaagrawal9546 Жыл бұрын
Yes
@razaali173 жыл бұрын
After executing the below code X_resampled1, y_resampled1 = sm.fit_sample(x,y) getting this error ------------------------------------------------------------------------- AttributeError Traceback (most recent call last) in ----> 1 X_resampled, y_resampled = sm.fit_sample(x,y) AttributeError: 'SMOTEENN' object has no attribute 'fit_sample' But if i am executing X_resampled1, y_resampled1 = sm.fit_resample(x,y) it is running without error in this case. changed Sample to resample
@SatyajitPattnaik3 жыл бұрын
I will have to check that, thanks for pointing out..
@charlottefx71632 жыл бұрын
Yeah i am also getting the same problem. My accuracy is also not coming good . After SMOTEEN its coming 80%
@akhileshkushwaha65962 жыл бұрын
smoothen function is showing error
@onestopzz64462 жыл бұрын
Is it mandatory to be good enough to write code on our own, If we are looking for data engineer jobs? .........from a final year student
@SatyajitPattnaik2 жыл бұрын
Not mandatory
@beyou78933 жыл бұрын
thank you so so much sir............
@SatyajitPattnaik3 жыл бұрын
Welcome 🔥🔥
@vikramyendhe9906 Жыл бұрын
ValueError ValueError: X has 65 features, but RandomForestClassifier is expecting 50 features as input. error is comming at deployement
@bhardwaj_0084 Жыл бұрын
please reply
@shashankpandey19662 жыл бұрын
Could you please explain --telco_data.TotalCharges--...AS we dont know which columns contains the null data , then how should we direct write it ?
@SatyajitPattnaik2 жыл бұрын
Can you point the time where you have this doubt
@ankanaboral389111 ай бұрын
Very detailed explanation. Thanks a lot for the efforts in creating this. I have a query regarding selection of training dataset for a subscription based model. If I select historical data with churners in the last 3months, for example, would I need to restrict the subscription start date in the training dataset for creating the base data?
@SatyajitPattnaik11 ай бұрын
You can create tenure as a derived metrics based on expiration date - subscription date
@ankanaboral389111 ай бұрын
@@SatyajitPattnaik Thanks for replying, but my question was should I filter out the data by subscription start date too like only taking subscriptions for a particular time period? I am taking churned customers for last 3months.
@nitishsantpur24122 жыл бұрын
Very good explanantion but I have a doubt as in if we choose decision tree in this case is there a way to find out the root node? any code available to do so?
@SatyajitPattnaik2 жыл бұрын
You can plot a tree, sklearn.tree.plot_tree
@nitishsantpur24122 жыл бұрын
@@SatyajitPattnaik Thank you very much but I got it very small nodes I used fig, axes = plt.subplots(nrows = 1,ncols = 1,figsize = (5,5), dpi=300) tree.plot_tree(model_dt_smote,filled=True) and I am getting nodes that are not clearly visible any way to increase size of nodes and make it look clear? That would be great help!!
@user-op3jd6rq7e Жыл бұрын
sir i have a problem in model deployment in spyder. can you help me("UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte") this is the error anyways thanks for great and amazing video
@SatyajitPattnaik Жыл бұрын
Its an encoding error, spot the error in the exact line, it must be failing while you are reading the file
@lambertagunbiade21142 жыл бұрын
thank you sir.
@SatyajitPattnaik2 жыл бұрын
welcome sir
@I_missnikolepatil Жыл бұрын
Hi sir I am watching your video i have little error please solve my error
@I_missnikolepatil Жыл бұрын
Model _dt.fit(x_train, y_train)
@dillipmeher8 ай бұрын
Hi Satyajit Bhai, very nice video for learning end to end Machine learning project for telco Customer churn and its Deployment keep it up. 🥰 . Could you please share me your's telegram channel link.
@greyboard86623 жыл бұрын
your accent is like a odia , might be you are from odisha ,by the way great content
@SatyajitPattnaik3 жыл бұрын
Thanks, proud to be an odiya 😎
@anketsonawane66512 жыл бұрын
Someone please help me. I have a confusion between customer segmentation and customer churn
@SatyajitPattnaik2 жыл бұрын
Customer segmentation is an unsupervised technique, where you need to create customer clusters based on their behaviour, when you have a variable where you know who is churning, and who's not, you can have a classification model to predict whether a new customer will churn or not.
@anketsonawane66512 жыл бұрын
@@SatyajitPattnaik thanks :)
@SatyajitPattnaik2 жыл бұрын
@@anketsonawane6651 I can make a video on customer segmentation if you promise me 100 subs 😂
@darshankokal4670 Жыл бұрын
Awesome content
@amankumar-vz9ds Жыл бұрын
Sir, Can we get the PPT you have used to explain the model.
@SatyajitPattnaik Жыл бұрын
I don't share ppts for free, but you can create the ppts by yourself by taking ideas from mine.
@dhanushn17872 жыл бұрын
I am getting Internal server error When we run the project
@SatyajitPattnaik2 жыл бұрын
You need to see the error and fix it, its a very basic project and lot of error handling is required
@chetanchoudhary4858 ай бұрын
sir that titles "MODEL DEPLOYMENT",etc blocked the view.😑
@SatyajitPattnaik8 ай бұрын
Yes my bad, its a way too old video, i have not repeated those mistakes in my latest videos 😀
@rajeshwarraotangellapalli3791Ай бұрын
Many thanks
@ajaykushwaha42333 жыл бұрын
Tell me one thing in industry we do coding in Pycharm, vscode or other IDE then why u people create end to end project in Jupiter notebook? Pls don’t tell me that it is easy to debug, if Ur project is End to End then it must follow industry standards so that viewers can learn.
@SatyajitPattnaik3 жыл бұрын
Tool is completely upto the developer, and it's easy to show the code line by line in Jupyter Notebook, and that's the sole reason why I had the code written in it which helps people in understanding the code. In real life, I usually do my coding on Spyder and then take it ahead for production.
@ajaykushwaha42333 жыл бұрын
@@SatyajitPattnaik Thank you so much for reply, you are correct I agree. In industry if we are coding in jupyter notebook so is it allowed ? your teaching is nice we all have gain lot of information and sincerely thank for this. A request kindly just make one video for Pycharm as well as per your convince.
@SatyajitPattnaik3 жыл бұрын
@@ajaykushwaha4233 I really don't understand why do you need me to do a project using Pycharm, these all are IDE's and can easily be switched.
@akshajagarwal3519 Жыл бұрын
I am getting Internal server error when i click on submit on the webpage , kindly help ASAP
@SatyajitPattnaik Жыл бұрын
So your values arent matching with the expected values
@akshajagarwal3519 Жыл бұрын
@@SatyajitPattnaik I am inputting the values directly from the dataset itself , can you provide with the values to be entered.
@SatyajitPattnaik Жыл бұрын
@@akshajagarwal3519 well if u r using exact similar values then theres no way it Will fail, its tested and used by many, pls debug it, or else modify the input fields to be drop down values
@akshajagarwal3519 Жыл бұрын
@@SatyajitPattnaik Thank You
@RiyaSingh-zd3yl2 ай бұрын
How did you fix this error??
@pragmatic_p83 жыл бұрын
Can I know what are pre-requisites of this project?
@SatyajitPattnaik2 жыл бұрын
Python and basics of ML should be enough
@tamizhmalar984311 ай бұрын
may I know what ML algorithm is used for this churn prediction sir?
@SatyajitPattnaik11 ай бұрын
Classification algorithms
@tamizhmalar984311 ай бұрын
does this come under predictive analytics sir?
@SatyajitPattnaik11 ай бұрын
@@tamizhmalar9843 yes
@sasumsudha3 жыл бұрын
dear sir, what is first_telc.csv file which was in app.py , please explain
@SatyajitPattnaik3 жыл бұрын
It's not used anywhere, pls ignore.
@genuinelag99366 ай бұрын
yes i also have the same doubt
@iramkhan40142 жыл бұрын
Sir, If we use KNN, Random Forest, SVM, Decision Trees, Linear regression. Then which one would be the most accurate model?
@SatyajitPattnaik2 жыл бұрын
Its very difficult to say, we should always try all the models and compare them
@iramkhan40142 жыл бұрын
@@SatyajitPattnaik Okay sir. Thank you so much for the quick reply!
@shrutimadan44513 жыл бұрын
Hi ,How to create the churn data in retail industry.. ?
@SatyajitPattnaik3 жыл бұрын
You have to read some papers about it.
@user-vv7so9zo9s9 ай бұрын
Can use the model to predict data in PBI right? Then, create 1 table to have churn values customers in PBI. I don't use file Excel but use data from a database to test. Can you help me ?
@SatyajitPattnaik9 ай бұрын
Predicting on PBI isn’t possible, but predictions can be integrated with PBI to showcase the results. In PBI you can do time series forecasting but no ML predictions
@user-vv7so9zo9s9 ай бұрын
@@SatyajitPattnaik I have finished building the customer churn prediction model and saved it in the pickle library. Now how can I use that model to predict data on PBI (can use integration or some other way) and show convenient results for calculating customer churn? I don't know what to do :( Please help me. Please. Thank you very much.
@SatyajitPattnaik9 ай бұрын
@@user-vv7so9zo9s Predictions can be done outside Power BI, Power BI is just a visualisation tool
@user-vv7so9zo9s9 ай бұрын
@@SatyajitPattnaik I can't get data from PBI to predict outside because data in database db2 :(. How to connect VS code with database db2 to create churn customer in data on the database? Then, I can use the data it use in PBI, right ?
@SatyajitPattnaik9 ай бұрын
@@user-vv7so9zo9s use chatGPT on how to connect db2 from your python notebook, once u r able to create connections, start working on the predictive model , and then u can connect with power bi and show predictions on pbi