Using K-Fold Cross Validation with Keras (5.2)

  Рет қаралды 26,643

Jeff Heaton

Jeff Heaton

Күн бұрын

Пікірлер: 21
@thatguycalledaustin4206
@thatguycalledaustin4206 3 жыл бұрын
This is a great video. I am just finishing up my degree in computer engineering and was stuck on an assignment until I watched this video. It has great production quality and you provide enough information to the user for them to understand what's actually going on. Thanks for this!
@BlackBlingGirl
@BlackBlingGirl 3 жыл бұрын
Thank you! This was explained so well and clear. I was looking for a solution all over the internet and finally found one! lets get coding...
@MrCutter
@MrCutter 5 жыл бұрын
Thanks so much for the video, I didn't know about this, I love the way scikit learn integrates with other frameworks, keep it up! I wish I could took this course in person :)!
@HeatonResearch
@HeatonResearch 5 жыл бұрын
Thanks, it is actually a very popular course in person, as well. But you really get nearly everything online, except graded assignments.
@felixmuller9062
@felixmuller9062 2 жыл бұрын
Hi, thank you for your amazing video series! One thing I'm wondering about is the fact that you are using your validation data as the test data. I read that the validation data doesn't influence the model in its learning phase. I just want to ask whether it is fine and formally correct to use your validation data as the test data?
@kaanakdik9455
@kaanakdik9455 3 жыл бұрын
In the first part of your study, you standardized the income, aspect, save_rate and subscriptions columns. Why did you standardize only these columns?
@seyedmostafahallaji7430
@seyedmostafahallaji7430 4 жыл бұрын
Hi, in the last example, which model (out of the five models) is used for the holdout data?
@YESHWANTSINGH
@YESHWANTSINGH 2 жыл бұрын
He used the last one out of 5-folds, but it seems incorrect to report the results of a model which is trained on a particular fold.
@GeekGenius10
@GeekGenius10 2 жыл бұрын
Hey Jeff! I hope I get a reply as early as possible because I'm working on a deep learning project. So, my dataset is actually image frames (residing in a separate folder) with corresponding XML annotation files in another folder. I want to train a model for object detection. Can I use K fold cross-validation in such kind of dataset? If yes, how? If not, then what would be the best approach?
@joshuamills7633
@joshuamills7633 4 жыл бұрын
how do you do the normalization with the holdout- is the X_main used to find the scaling and offset and then that is applied to the holdout?
@alisaghi051
@alisaghi051 3 жыл бұрын
How to compare or draw the loss and val_loss in this case?
@klausrichter778
@klausrichter778 4 жыл бұрын
Crack! Like a good teacher you teached me the intuition and answered the question.. Good i run my k-fold algorithm but now what?, what kind of decissions could i take with this?. Really thanks ! Because on internet people talk mainly about the algorithm but no about the decisions
@HeatonResearch
@HeatonResearch 4 жыл бұрын
k-fold is used for many different things, but usually to give you an idea of how your chosen model will perform on new data that it was not trained on. It can also be used to test out new hyperparameters.
@pradeepgb986
@pradeepgb986 4 жыл бұрын
Will the kfoldstratify reduce the problem of imbalanced dataset in case of multi class classification ? Or is it required to perform SMOTE apart from kfoldstratify to over the program of imbalanced dataset ?
@pradeepgb986
@pradeepgb986 4 жыл бұрын
Overcome *
@TheVintageViking
@TheVintageViking 4 жыл бұрын
I would say that its more like ensemble learning method, because you are splitting folds into data with balanced classes. Its not a method for overcoming imbalance classes, for that you can try one of: oversampling, undersampling, adaboost.
@zebcode
@zebcode 3 жыл бұрын
Hey Jeff, it would be awesome if you could show how to go about combining the models into a single one rather than voting
@HeatonResearch
@HeatonResearch 3 жыл бұрын
Sure, let me think about that.
@arturr5
@arturr5 4 жыл бұрын
what if my data are images?
@tesfayeyimam3700
@tesfayeyimam3700 3 жыл бұрын
that is my question too
Early Stopping in Keras to Prevent Overfitting (3.4)
14:17
Jeff Heaton
Рет қаралды 16 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
What are Embedding Layers in Keras (11.5)
14:39
Jeff Heaton
Рет қаралды 35 М.
Bayesian Hyperparameter Optimization for Keras (8.4)
11:25
Jeff Heaton
Рет қаралды 18 М.
154 - Understanding the training and validation loss curves
27:47
DigitalSreeni
Рет қаралды 110 М.
Introduction to Pandas for Deep Learning (2.1)
14:08
Jeff Heaton
Рет қаралды 18 М.
Machine Learning Tutorial Python 12 - K Fold Cross Validation
25:20
Building Ensembles with Scikit-Learn and Keras (8.2)
12:18
Jeff Heaton
Рет қаралды 6 М.
Encoding a Feature Vector for Keras Deep Learning (4.1)
9:32
Jeff Heaton
Рет қаралды 8 М.
Bootstrapping and Benchmarking Hyperparameters (5.5)
13:54
Jeff Heaton
Рет қаралды 4,7 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН