tag:blogger.com,1999:blog-3884463987282087684.post6289316893685999134..comments2023-12-23T20:46:11.620-08:00Comments on DataTechNotes: Classification Example with Keras CNN (Conv1D) model in Python Unknownnoreply@blogger.comBlogger13125tag:blogger.com,1999:blog-3884463987282087684.post-8783869806739136252023-11-06T19:01:04.545-08:002023-11-06T19:01:04.545-08:00Nope, It's working well in my environment. Try...Nope, It's working well in my environment. Try to run it with new environment and check versions. Datatechnoteshttps://datatechnotes.comnoreply@blogger.comtag:blogger.com,1999:blog-3884463987282087684.post-85565937070950292152023-11-06T15:32:00.738-08:002023-11-06T15:32:00.738-08:00Have you ever seen the conv1d cause python to cras...Have you ever seen the conv1d cause python to crash? Everytime I run your example code above on my system it crashes and the python kernal has to restart. I have run several other sequential models with no issues but the second I add a Conv1D layer it crashes.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3884463987282087684.post-85384295727324861722022-09-25T03:42:35.580-07:002022-09-25T03:42:35.580-07:00Many thanks, this has helped understand from simpl...Many thanks, this has helped understand from simple principles- excellent tutorialAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3884463987282087684.post-15822798221738868192022-06-16T08:52:52.768-07:002022-06-16T08:52:52.768-07:00Thank you so much sir Thank you so much sir Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3884463987282087684.post-86280562831896146282022-05-26T05:24:53.111-07:002022-05-26T05:24:53.111-07:00excellent tutorial .....keep it up.Kindly share tu...excellent tutorial .....keep it up.Kindly share tutorial on 2D CNN, LSTM, GAN etcAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3884463987282087684.post-81632238139334764312022-02-21T00:23:41.272-08:002022-02-21T00:23:41.272-08:00why not use one hot encoding for the labels? it is...why not use one hot encoding for the labels? it is nominal dataAnonymoushttps://www.blogger.com/profile/09071427478376612598noreply@blogger.comtag:blogger.com,1999:blog-3884463987282087684.post-21952071387475969352022-01-30T17:52:23.040-08:002022-01-30T17:52:23.040-08:00In between Convolution and Pooling layers, what is...In between Convolution and Pooling layers, what is the use of model.add(Dense(16, activation="relu"))Arunhttps://www.blogger.com/profile/01814388026181626689noreply@blogger.comtag:blogger.com,1999:blog-3884463987282087684.post-48665321653127876742021-12-29T13:43:49.526-08:002021-12-29T13:43:49.526-08:00Thanks.Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3884463987282087684.post-7801432343656703092021-11-27T13:50:50.170-08:002021-11-27T13:50:50.170-08:00very good .... this codes for Create the Confusion...very good .... this codes for Create the Confusion Matrix :<br /><br />## Create the Confusion Matrix out of the Actual and Predicted Data.<br />cm = confusion_matrix(ytest, pred_y)<br />## Print the Confusion Matrix.<br />print(cm)<br /><br /><br />## Create the Confusion Matrix Display Object(cmd_obj). Note the <br />## alphabetical sorting order of the labels.<br />cmd_obj = ConfusionMatrixDisplay(cm, display_labels=target_names)<br /><br />## The plot() function has to be called for the sklearn visualization<br />## code to do its work and the Axes object to be created.<br />cmd_obj.plot()<br /><br />## Use the Axes attribute 'ax_' to get to the underlying Axes object.<br />## The Axes object controls the labels for the X and the Y axes. It<br />## also controls the title.<br />cmd_obj.ax_.set(<br /> title='Sklearn Confusion Matrix with labels!!', <br /> xlabel='Predicted Fruits', <br /> ylabel='Actual Fruits')<br /><br />## Finally, call the matplotlib show() function to display the visualization<br />## of the Confusion Matrix.<br />plt.show()sabetihttps://www.blogger.com/profile/03397350772560589876noreply@blogger.comtag:blogger.com,1999:blog-3884463987282087684.post-59752805209042704102021-11-07T00:25:02.967-07:002021-11-07T00:25:02.967-07:00Dear
Hope you are doing well
My code running will ...Dear<br />Hope you are doing well<br />My code running will but model is not learning at all <br />Model acc is zeroZaidhttps://www.blogger.com/profile/13967791999942430174noreply@blogger.comtag:blogger.com,1999:blog-3884463987282087684.post-76704336006780183722021-09-23T03:06:47.325-07:002021-09-23T03:06:47.325-07:00I can't thank you enough for this clear and si...I can't thank you enough for this clear and simple example that works and explains how to navigate the TensorFlow Conv1D API.<br /><br />Anonymoushttps://www.blogger.com/profile/02250826015139203752noreply@blogger.comtag:blogger.com,1999:blog-3884463987282087684.post-72561037790175147342021-06-29T09:44:40.584-07:002021-06-29T09:44:40.584-07:00Thanks from my side, too, worked well to help me u...Thanks from my side, too, worked well to help me understand the reshape preliminary of Conv1D layers.Anonymoushttps://www.blogger.com/profile/08156223337810300487noreply@blogger.comtag:blogger.com,1999:blog-3884463987282087684.post-91274307829922227602021-05-11T07:13:57.451-07:002021-05-11T07:13:57.451-07:00Thanks for sharing this simple but effective examp...Thanks for sharing this simple but effective example. Anonymousnoreply@blogger.com