Automatic Neural Network Hyperparameter Tuning for TensorFlow Models using Keras Tuner in Python
Вставка
- Опубліковано 2 сер 2022
- The Colab Notebook: colab.research.google.com/dri...
Thank you for watching the video! You can learn Data Science FASTER at mlnow.ai/ :)
Master Python at mlnow.ai/course-material/python/!
Learn SQL & Relational Databases at mlnow.ai/course-material/sql/!
Learn NumPy, Pandas, and Python for Data Science at mlnow.ai/course-material/data...!
Become a Machine Learning Expert at mlnow.ai/course-material/ml/!
Don't forget to subscribe if you enjoyed the video :D
Take my courses at mlnow.ai/!
Thank you Greg. That's very helpful.
Great to hear!
I’m using this for a CNN. Thanks for the clear presentation and walk through. You’re the man
Sounds great. No problem! Thanks!
Did you get good results
actually incredibly useful thank you so much
Oh I'm really glad to hear that! :)
Brilliant thanks Greg👍
You're very welcome!
Thank you!!
Amazing Viedo! Thank you so much! Saved my ass of my assignment 😂
So glad to hear it :)
Great video! Thank u!
You're very welcome :)
Excellent topic
Thanks!
Hi Greg!
I hope you are doing well, wanted to ask you if there is a way to use keras tunner with an stacked model, which comes from two models.
And if there is which is the best way to do it
If I want to add k-fold cross validation during hyperparameter tuning, do I add the tuner.search() (i.e. simply replacing model.fit() command with this) inside my loop for k-fold ?
Thanks for the great vid!
Thanks a lot!
You're welcome!
Hi, I want to know how can I get the name of AF and other info of the best model. for example for the best mode, which AF used
Hey Greg, I'm applying your techniques to model time series data and I'd like to ask when we call tuner.search() and pass it the training data and validation data, does it randomly shuffle the data? You probably already understand why I'm asking thank you.
And if it does, how can we preserve the time series ordering?
this is 🔥
Great to hear!
This was a fantastic tutorial. I am curious to know if I could do the same with signal data using a 1D CNN Model? If so, how would the input shape differ in that scenario since I am not working with photo data?
Yes you could use something like this for 1d CNN's
How could I implement this with CNN? I'm working with my own dataset adn it seems like the keras tuners don't like the tf.data.Datasets yet. They're still expecting (x_train, y_train), (x_test, y_test). Is my thinking correct there? Essentially I'm loading my data using tf.keras.preprocessing.image_dataset_from_directory and would like to feed this into the tune.
How could I split my own data in (x_train, y_train), (x_test, y_test)?
Hello.
What if I want to optimize the batch size, the number of epochs or use callbacks such as ReduceLROnPlateau or EarlyStopping? Can I use keras tuner for that? Or is it already included in the search procedure?
Very nice.
How can I extract the best parameters , for each layer. For example : how many filters in each cnn layer. What is chosen activation function , what is the size of the filters ? Etc.
Basicly get the structure of the model.
Thanks
Eran
Hello. Did you get the answer ? If yes, please share the answer. Thanks :)
@@mohammeddanishreza4902 No. I did not. However , I figured it out by myself. I uploaded some videos about it.
@@eranfeit Please share the link of the video. It would be helpful. Thank you : )
@@mohammeddanishreza4902 please this playlist :
ua-cam.com/play/PLdkryDe59y4ZO3WjBjcEUP1drjPcVvRBA.html
The third video is dealing with this subject.
your coding tutorial are way better than that review content
Thanks for the feedback!
Hey Greg, do you prefer more tensorflow or pytorch and why? Sorry for bothering you
I haven't learned pytorch.
Hi Greg!
thanks for create this tutorial, it help me so much.
but I'm currious about the possibility of implementing the keras-tuner, after i augmenting the number of image samples, by ImageDataGenerator. is it possible??
It should be I think?
Is there a way to get best number of layers also?
Yeah I didn't do it but I'm guessing you could mix the functional API with one of those random integers as the number of iterations of a loop. I don't think this is often done in practice though
Would have been nice to see model.summary()
You can run the colab code and do that if you'd like :)
Hi may i know how to contact you?
Check the about section of my UA-cam channel
max_epochs is 10 but epochs is 50. Isn't it contradictory?