What and excellent piece of work! Introduction is complete, allowed me to understand and conduct whole analysis. Author comments build background knowledge and explain how to solve potential problems. @Dr. Bharatendra Rai my complements on your didactic skills and quality of materials! Btw I had to do minor script adaptions (probably due to some changes in library) to work in my environment. ln56: WAS: pred % predict_classes(testx) / IS: pred % predict(testx) %>% k_argmax() ln59: WAS: prob % predict_proba(testx) / IS: prob % predict(testx) Have fun!
@bkrai2 жыл бұрын
Thanks for the comments and code related update!
@tarasst68872 жыл бұрын
Great to see example with torch package
@bkrai2 жыл бұрын
Thanks!
@lucasdemelo35 жыл бұрын
brilliant @ Bharatendra Rai !
@bkrai5 жыл бұрын
Thanks!
@scottsara1235 жыл бұрын
Sir waiting for video related to GAN Thanks for easy explain guidance to all self learner's
@bkrai5 жыл бұрын
Thanks, I've it on my list!
@farshidowrang27623 жыл бұрын
The problem is that the codes "predict_classes" and "predict_proba" according to the Error massage are deprecated and they are removed from tensorflow in version 2.6 (I have the latest version). The Error Massage suggests "predict() %>% k_argmax()" and "predict()" instead but they are not working for me.
@kunalchoudhary40632 жыл бұрын
same issue. please help
@michealajinaja71422 жыл бұрын
No one solved this
@adrianramos29895 жыл бұрын
Terrific intro to the MNIST data set! Thank you for sharing such a quality content. I would like to ask you for the hand written pictures used in the example for replicability purposes. I've carefully followed your steps but have only achieved a very poor 30% accuracy when evaluating the MNIST trained model with my own handwritten numbers.
@bkrai5 жыл бұрын
Here is the link: drive.google.com/open?id=1m_nKMCUZBP0O32Friuzck27QiiE9a7jz
@rebekahjardine8444 Жыл бұрын
If I have an entirely different set of images: A folder that contains a test and train folder with each containing two additional subfolders with labeled images. How can I replicate the same structure as the mnist dataset?
@bkrai Жыл бұрын
You can use the same approach that is used with my own handwritten images at the time of testing.
@machinelearningzone.62304 жыл бұрын
Thanks for the tutorial and the code,but I faced the error"imensions must be equal, but are 32 and 320 for 'loss/dense_8_loss/softmax_cross_entropy_with_logits' (op: 'SoftmaxCrossEntropyWithLogits') with input shapes: [32,10], [320,10]." while fitting the model. Could you please help me out.
@bkrai4 жыл бұрын
Are your working with the same data/code used here? If yes, let me know which line you are referring to?
@gawine8 ай бұрын
Hi! I followed every instruction given, but R studio still throws an error: No gradients provided for any variable. Does somebody have a clue why this occurs? Thanks!
@hammao5 жыл бұрын
Again thanks for referring me to this video... do you have any recording where you used flow_images_from_directory() to read in your images, the concept is still confusing to me because i couldn't find a way to look at the str of the object generated. Many Thanks .
@bkrai5 жыл бұрын
I've not used flow_images_from_directory() so far.
@hammao5 жыл бұрын
Bharatendra Rai I figured it out already... many thanks
@bkrai5 жыл бұрын
Thanks for the update!
@mannam53745 жыл бұрын
Excellent video sir..your steps are very clear and easy to follow...please do a classification problem in deep learning keras using cloudml package....thanks Sir
@bkrai5 жыл бұрын
Thanks for the suggestion, I've added this to my list.
@md.mahiuddin30975 жыл бұрын
This is a great lecture. Thank you so much. Sir, i want to predict a unlabeled data set by using labeled data set, then how can i proceed? Thanks in advance.
@bkrai5 жыл бұрын
Train the network with labeled data and then use the model to predict from unlabeled data.
@md.mahiuddin30975 жыл бұрын
thank you @@bkrai
@Felixinhk083 жыл бұрын
Hi, what is the activation ='relu' and 'softmax' means? Which one is better?
@kaihennig23233 жыл бұрын
Hi, I hope that this late answer still helps you. relu is a activation function, which puts everything below 0 to 0 and is linear from 0 to + infinity. Softmax uses the sigmoid (1 / (1+e^-x)) function but divides everything by the highest neuron in the output layer to have values between 0 and 1 which add up to 1.
@bkrai3 жыл бұрын
Thanks!
@send2milan5 жыл бұрын
Sir, you are the one who inspired me choosing analytics career. Thank for sharing all the videos in KZbin.
@bkrai5 жыл бұрын
Thanks for comments!
@flamboyantperson59365 жыл бұрын
Great great tutorial on deep learning in R. Thank you very much Sir.
@bkrai5 жыл бұрын
Thanks for comments!
@olcaybolat34522 жыл бұрын
Dear Dr. Rai, I'm having an error while I try to upload my own images. "cannot allocate vector of size 2.9 Mb" Do you have any suggestion with this ?
@bkrai2 жыл бұрын
If you have any unnecessary data files loaded, you can remove them to create some space.
@olcaybolat34522 жыл бұрын
@@bkrai Thank you for replying, I have no data before I load my 7000 image for classification . I have 16gb ram also.
@bkrai2 жыл бұрын
Try with less number of images or if possible, use gpu computer.
@olcaybolat34522 жыл бұрын
@@bkrai Is it possible to use Gpu of our computer in R ? İnstead of cpu and ram ? (Thank you for replying)
@johannaachhammer4 жыл бұрын
Great introduction! Isn´t it a problem that accuracy for validation data is better than for training data when using dropout layers? Why don´t you reduce the epochs at the point where the loss function of the training data is at its lowest point? Thanks in advance.
@bkrai4 жыл бұрын
When difference is very small, it can happen sometimes.
@johannaachhammer4 жыл бұрын
Thanks. So that is no Problem? It is unintuitive for me. And why don't you stop the Training ehen overfitting starts (after loss function of Validation Data reachs Minimum)?
@bkrai4 жыл бұрын
It's important to highlight the problem of over fitting and see how to identify it. And it is all the more important when it comes to deep learning.
@ashishsharp4 жыл бұрын
Sir, Error in install_tensorflow() : could not find function "install_tensorflow", getting this error though I have tensor flow installed for Python. PN I am using R 3.6
@bkrai4 жыл бұрын
Try this: kzbin.info/www/bejne/Y3q8iqSarcmMjs0
@ambertrivedi15024 жыл бұрын
I'm getting an error that specified conda library does not exist
@bkrai4 жыл бұрын
I'll do a video to install keras and tensorflow in coming weeks.
@ambertrivedi15024 жыл бұрын
@@bkrai I already know how to install keras and tensorflow. 1. #install packages install.packages("keras") 2.load it into the library library("keras") 3. You can look where it is loaded or not by typing search() #Search will give all loaded packages Run this command 4.install_keras() #Another way is to install from github using devtools Since I'm running R in windows 10 I'm facing many issues. Python version 3.8.3 Anaconda Latest Version Installed it with admin rights to configure it properly. Updated and upgraded pip and conda Installed Tensorflow CPU version with pip command from stackoverflow. Everthing is going well. But when I'm trying to load keras dataset I'm getting an error. Either python module so and so found or conda does not exist /Anaconda3/Scripts. This is where I'm struck.
@bkrai4 жыл бұрын
Probably it's something computer specific.
@ambertrivedi15024 жыл бұрын
@@bkrai Yes. I guess so. Sir you are indeed an amazing and inspiring teacher. Recently I had requested you to please do make a video on Plant disease detection. I hope you soon get it off your as well as my bucket list.
@JacksonUNT2 жыл бұрын
Thank you for the video, but: 'Sequential' object has no attribute 'predict_classes'
@ravikumar-rz8uu5 жыл бұрын
Very Helpful machine learning concept ,Thanks you .. can you make video for image processing in R.
@bkrai5 жыл бұрын
Here is the playlist of related videos: kzbin.info/aero/PL34t5iLfZddsaZKDeCK2RD8lrhxBxp4hP
@abhishekdas26404 жыл бұрын
Sir, One error is showing while running the code "mnist
@bkrai4 жыл бұрын
Try this link: kzbin.info/www/bejne/Y3q8iqSarcmMjs0
@abhishekdas26404 жыл бұрын
@@bkrai thank you verymuch sir. 😃
@bkrai4 жыл бұрын
Welcome!
@juanjosetorressanmartin14955 жыл бұрын
can you help me?. every time when i want use mnist database. i have next error. please... i'm gonna go crazy. (Error in dir.exists(x) : file name conversion problem -- name too long?) this happens when I use keras library and I want to charge the data "mnist
@bkrai5 жыл бұрын
I would suggest check your code again.
@juanjosetorressanmartin14955 жыл бұрын
Yes!! Can you help me?
@ravikumar-rz8uu5 жыл бұрын
thank you, very nice response..
@bkrai5 жыл бұрын
Thanks for comments!
@manjuyadavalwar30145 жыл бұрын
Need your guidance as how we can solve sale prediction (Kaggle competition) . Below is problem snapshot - YYou are provided with daily historical sales data. The task is to forecast the total amount of products sold in every shop for the test set. Note that the list of shops and products slightly changes every month. Creating a robust model that can handle such situations is part of the challenge. File descriptions sales_train.csv - the training set. Daily historical data from January 2013 to October 2015. test.csv - the test set. You need to forecast the sales for these shops and products for November 2015. sample_submission.csv - a sample submission file in the correct format. items.csv - supplemental information about the items/products. item_categories.csv - supplemental information about the items categories. shops.csv- supplemental information about the shops.
@bkrai5 жыл бұрын
Sorry I saw this today. I guess it's too late now.
@ravindarmadishetty7365 жыл бұрын
Sir, expecting a video on recommendation system...thanks