Skip to content

Instantly share code, notes, and snippets.

@manmedia
manmedia / gist:f214e6f68e28c89ea91f3546fba66663
Last active November 1, 2021 04:29
A short intro to Batches, Iterations, and Epochs in Neural Network
When all the #Batches# of data samples have been propagated through a Neural Network through #Iterations# such that the necessary
networks weights have been updated in the training process, we can consider an #Epoch#.
For Example - I will take #N# Picutres of Cats and Dogs, and break them into #Batches# of #B#, so that I can pass them all using #I#
iterations through my Neural Network model, update the weights, and consider #E# Epoch to be achieved for training the model. Therefore,
#E# = #B# x #I#
N.B. It may often appear tempting to mix Epochs and Iterations together. But let's save ourselves from that :D
@manmedia
manmedia / HowToWorkWithSubnets
Created December 30, 2020 19:43
Bootstrapper Script to start Tomcat 9 on EC2 and Expose it to WWW via AWS Elastic Load Balancer (Application)
** THE PROJECT INVOLVES CONNECTING ELB (Application LB) with your Private Subnets and re-route traffic **
WHAT IS COVERED BY THIS EXERCISE
_____________________________________
1. AWS Networking (VPC, Subnet, Security Group, NACL)
2. AWS High Availability (Load Balancer)
WHAT IS OUR ASSUMPTION
_______________________