Hindi Machine Learning Tutorial 13 - K Fold Cross Validation
Вставка
- Опубліковано 16 вер 2019
- Many times we get in a dilemma of which machine learning model should we use for a given problem. KFold cross validation allows us to evaluate performance of a model by creating K folds of given dataset. This is better then traditional train_test_split. In this tutorial we will cover basics of cross validation and kfold. We will also look into cross_val_score function of sklearn library which provides convenient way to run cross validation on a model
#MachineLearningHindi #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource #sklearn
Code: github.com/codebasics/py/blob...
Exercise: Exercise description is avialable in above notebook towards the end
To download csv and code for all tutorials: go to github.com/codebasics/py, click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.
Website: codebasicshub.com/
Facebook: / codebasicshub
Twitter: / codebasicshub
Check out our premium machine learning course with 2 Industry projects: codebasics.io/courses/machine-learning-for-data-science-beginners-to-advanced
hello sir, I want to contact with you. please provide your contact number or mail address
Thank you so much for this premium video
big thanks to you sir from all the non cs students who want to switch their career into data science....its really helpful for us
मार्गदर्शन करते रहो गुरूजी 🙏
best video lecture
This is best video I understand how library work in stratified KFold.
Rohit, sukriya for your kind words of appreciation.
Brilliantly Explained
Wow, such a great explanation. Really loved your approach!
Glad you enjoyed it!
Superrrrrrrr se bhi uparrrrrrrr☺️😂😂
Nice video... very well explained...🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰
best teacher ever
Hello Sir, for new unseen data, then which model will be used out of the 3 (in case of 3 fold cross validation) to predict this data?
Great explanation.
as usual best video
You are best bro ❤💖💕
After a Long a Time I Saw a Good Easy to understand Machine Learning Training. Well done.
Can You provide all Training code in R Language(IF Possible)
Sir, kya hum kfold cross validation use kar k LSTM, ARIMA, MLP ka accuracy nikal sakte hai??
awesome. thank you very much!
Glad it helped!
thankyou so much sir jii..
sir i didn't get that why svc score is so less i mean svc is mostly used for digits classification as u told in svm lecture?
thank you sir , very nicely explained .
You are most welcome
मुझे यह वीडियो भाई सबसे ज्यादा पसंद आया.
Dhanyavad shalendra 😊👍
great explanation sir .
Keep watching
Sir why we didn't change this dataset into Dataframe first??
we were doing that in case of iris data set
Sir tell me plz. If we set 150 cross validation then what will be happen
thank you sir
Nicely explained,
Very beautiful information ❤️ it.
Please make some more videos 😉
Glad you liked it
The best video!!
I am happy this was helpful to you.
this parameter give me better result = cross_val_score(SVC(gamma=7),x,y,cv=3),
and score is = array([1. , 0.96, 0.96])
i didnt understand the splitting into 3 means in that example....print to uska index number ho raha hai
I was trying this with a another dataset ('titanic')
And I was not Abel to access the input data inputdata[train_index]
At the time stamp 14:15
Can u please help
I got the solution
inputdata.iloc[train_index]
Sir, before cross validation, score was 96 and 97, after validation, score becomes decreased. Isn't it?
mast video hai bhai.
Shalendra, I am happy this was helpful to you
Thanks again sir
Keep watching
I perform train test split and give 30% data to test then apply model every model score give me 1.
Brilliant !!
Glad it was helpful!
thank you sir i learn lot's of things from you, sir please make one project of ML in Hindi like real estate , hindi mai acha response aayega.
I am happy this was helpful to you.
Logistic regression gives highest score if i dont apply fine tune in other two models. If svm , get gamma=0.7 then score is 98%. Anyone please tell me which is the correct answer
Kfold is asking yor y object??
Sir great understanding ... Come with a deployment series
Ankush, sure o have noted down that topic
array([0.96078431, 0.92156863, 0.95833333])
on iris with 3 folds (default)
Bcha bahut bdiya lga
@codebasicsHindi best model ac to me is SVC
Logistic regression has the highest score using cross_val_score() 97.33
That’s the way to go Yash, good job working on that exercise
The word "Thanks" is a very small word for you. Just pray for you that May Almighty Allah increases your knowledge.
I am happy this was helpful to you.
Hi Sir Tumhi Maharastrain ahe ka great u said barobar .... Great sir Tumhi Marathi medha start kara la pahija hindi pan chalel kai harkat nahi
M Patha, Mai gujarati hun lekin me samaj sakta hu tum kya bol rahe ho. Hindi me hi video banate rahunga jisse sabje jyada logo ke paas mera content jaa sake
@@codebasicsHindi Sir aapki bohat hi best videos upload karra ho mai apko hi follow karra hu .. sir mera 1 question hai fir new new technologies arahi hai to jo hum sikh rahe hai wo to old hojayengi na ab aur ya carrier ki demand bhi kam hojayengi... please aapka kya opinion hai...
Sir jab sklearn.model_selection import kfold karte hain to wanha error aa raha hai no module named ‘ sklearn.model_selection
stackoverflow.com/questions/40704484/importerror-no-module-named-model-selection
bhai sabh ekk video me dalo for machine learning aur publish karo
LR GOT (97) but svc GOT (100) RF got (94)
so i think svm got higher score in iris dataset
how YOLO can train with k fold cross validation??
On UA-cam search for "codebasics YOLO ", you will find my videos please watch it
R u gujrati?? Nice video