The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

472902 (2) [Avatar] Offline
I am trying to adapt this CNN to classify not images but the results of sentiment analysis, ran on 5 elements of some web articles (title, subtitle, start paragraphs, body, end paragraphs), in order to define a 'super indicator' (boolean). Anyway.. the nr of my input parameters is 20 (5*4) and the sample size is around 300 for now.
Given this, my version of the listing seems to work quite well only if avoiding to test per batches (i.e. 'batch size' = 1).
As I can't find any indications in the book about why you are running the training per batch, can you please add some words here to explain pros and cons of batch-training on CNN's?