DEEP LEARNING SERIES- PART 10

This is the last article in this series. This article is about another pre-trained CNN known as the ResNet along with an output visualization parameter known as the confusion matrix.

ResNet

This is also known as a residual network. It has three variations 51,101,151. They used a simple technique to achieve this high number of layers.

Credit – Xiaozhu0429/ Wikimedia Commons / CC-BY-SA-4.0

The problem in using many layers is that the input information gets changed in accordance with each layer and subsequently, the information will become completely morphed. So to prevent this, the input information is sent in again like a recurrent for every two steps so that the layers don’t forget the original information. Using this simple technique they achieved about 100+ layers.

ResNet these are the three fundamentals used throughout the network.

  (conv1): Conv2d (3, 64, kernel_size= (7, 7), stride= (2, 2), padding= (3, 3))

  (relu): ReLU

  (maxpool): MaxPool2d(kernel_size=3, stride=2, padding=1)

These are the layers found within a single bottleneck of the ResNet.

    (0): Bottleneck

  1    (conv1): Conv2d(64, 64, kernel_size=(1, 1), stride=(1, 1))

  2    (conv2): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))     

  3    (conv3): Conv2d(64, 256, kernel_size=(1, 1), stride=(1, 1))    

      (relu): ReLU(inplace=True)

   Down sampling   

   Conv2d(64, 256, kernel_size=(1, 1), stride=(1, 1))

    (1): Bottleneck

  4    (conv1): Conv2d(256, 64, kernel_size=(1, 1), stride=(1, 1))

  5    (conv2): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))     

  6   (conv3): Conv2d(64, 256, kernel_size=(1, 1), stride=(1, 1))     

      (relu): ReLU(inplace=True)

    )

    (2): Bottleneck

  7    (conv1): Conv2d(256, 64, kernel_size=(1, 1), stride=(1, 1))

  8    (conv2): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))

  9   (conv3): Conv2d(64, 256, kernel_size=(1, 1), stride=(1, 1))

   (relu): ReLU

There are many bottlenecks like these throughout the network. Hence by this, the ResNet is able to perform well and produce good accuracy. As a matter of fact, the ResNet is the model which won the ImageNet task competition.

There are 4 layers in this architecture. Each layer has a bottleneck which comprises convolution followed by relu activation function. There are 46 convolutions, 2 pooling, 2 FC layers.

TypeNo of layers
7*7 convolution1
1*1, k=64 + 3*3, k=64+1*1, k=256 convolution9
1*1, k=128+ 3*3, k=128+1*1, k=512  convolution10
1*1, k=256+ 3*3, k=256 + 1*1, k=1024 convolution16
1 * 1, k=512+3 * 3, k=512+1 * 1, k=2048 convolution9
Pooling and FC4
Total50

There is a particular aspect apart from the accuracy which is used to evaluate the model, especially in research papers. That method is known as the confusion matrix. It is seen in a lot of places and in the medical field it can be seen in test results. The terms used in the confusion matrix have become popularized in the anti-PCR test for COVID.

The four terms used in a confusion matrix are True Positive, True Negative, and False positive, and false negative. This is known as the confusion matrix.

True positive- both the truth and prediction are positive

True negative- both the truth and prediction are negative

False-positive- the truth is negative but the prediction is positive

False-negative- the truth is positive but the prediction is false

Out of these the false positive is dangerous and has to be ensured that this value is minimal.

We have now come to the end of the series. Hope that you have got some knowledge in this field of science. Deep learning is a very interesting field since we can do a variety of projects using the artificial brain which we have with ourselves. Also, the technology present nowadays makes these implementations so easy. So I recommend all to study and do projects using these concepts. Till then,

HAPPY LEARNING!!!

DEEP LEARNING SERIES- PART 9

This article is about one of the pre-trained CNN models known as the VGG-16. The process of using a pretrained CNN is known as transfer learning. In this case, we need not build a CNN instead we can use this with a modification. The modifications are:-

  • Removing the top (input) and bottom (output) layers
  • Adding input layer with size equal to the dimension of the image
  • Adding output layer with size equal to number of classes
  • Adding additional layers (if needed)

The pre-trained model explained in this article is called the VGGNet. This model was developed by the Oxford University researchers as a solution to the ImageNet task. The ImageNet data consists of 10 classes with 1000 images each leading to 10000 images in total.

VGGNet

I/p 1     2   3     4     5        6       7         8      9          10     11            12       13   o/p

Credit: – Nshafiei neural network in Machine learning  Creative Commons Attribution-ShareAlike 4.0 License.

This is the architecture for VGGNet. This has been found for the CIFAR-10 dataset, a standard dataset containing 1000 classes. This was used for multiclass classification. Some modifications are made before using it for detecting OA. The output dimension is changed into 1*1*2 and the given images must be reshaped to 224*224 since this dimension is compatible with VGGNet. The dimensions and other terms like padding, stride, number of filters, dimension of filter are chosen by researchers and found optimal. In general, any number can be used in this place.

The numbers given below the figure correspond to the layer number. So the VGGNet is 13 layered and is CNN till layer 10 and the rest are FNN.

Colour indexName
GreyConvolution
RedPooling
BlueFFN

Computations and parameters for each layer

Input

224*224 images are converted into a vector whose dimension is 224*224*3 based on the RGB value.

Layer 1-C1

This is the first convolutional layer. Here 64 filters are used.

Wi =224, P=1, S=1, K=64, f=3*3

Wo =224 (this is the input Wi for the next layer)

Dim= 224*224*64

Parameter= 64*3*3= 576

Layer 2-P1

This is the first pooling layer

 Wi =224, S=2, P=1, f=3

Wo=112 (this is the input Wi for the next layer)

Dim= 112*112*3

Parameter= 0

Layer 3-C2C3

Here two convolutions are applied. 128 filters are used.

Wi =112, P=1, S=1, K=64, f=3

Wo=112 (this is the input Wi for the next layer)

Dim= 112*112*128

Parameter= 128*3*3=1152

Layer 4- P2

Second pooling layer

Wi =112, P=1, S=2, f=3*3

Wo =56 (this is the input Wi for the next layer)

Dim= 56*56*3

Parameter= 0

Layer 5- C4C5C6

Combination of three convolutions

Wi =56, P=1, S=1, K=256, f=3*3

Wo = 56 (this is the input Wi for the next layer)

Dim= 224*224*64

Parameter= 64*3*3= 576

Layer 6-P3

Third pooling layer

Wi =56, P=1, S=2, f=3*3

Wo =28 (this is the input Wi for the next layer)

Dim= 28*28*3

Parameter= 0

Layer 7-C7C8C9

Combination of three convolutions

Wi =28, P=1, S=1, K=512, f=3*3

Wo =28 (this is the input Wi for the next layer)

Dim= 28*28*512

Parameter= 512*3*3= 4608

Layer 8-P4

Fourth pooling layer

Wi =28, P=1, S=2, f=3*3

Wo =14 (this is the input Wi for the next layer)

Dim= 14*14*3

Parameter= 0

Layer 9-C10C11C12

Last convolution layer, Combination of three convolutions

Wi =14, P=1, S=1, K=512, f=3*3

Wo =14 (this is the input Wi for the next layer)

Dim= 14*14*512

Parameter= 512*3*3= 4608

Layer 10-P5

Last pooling layer and last layer in CNN

Wi =14, P=1, S=2, f=3*3

Wo =7 (this is the input Wi for the next layer)

Dim= 7*7*3

Parameter= 512*3*3= 4608

With here the CNN gets over. So a complex 224*224*3 boil down to 7*7*3

Trends in CNN

As the layer number increases,

  1. The dimension decreases.
  2. The filter number increases.
  3. Filter dimension is constant.

In convolution

Padding of 1 and stride of 1 to transfer original dimensions to output

In pooling

Padding of 1 and stride of 2 are used in order to half the dimensions.

Layer 11- FF1

4096 neurons

Parameter= 512*7*7*4096=102M

Wo= 4096

Layer 12- FF2

4096 neurons

Wo= 4096

Parameter= 4096*4096= 16M

Output layer

2 classes

  • non-osteoarthritic
  • osteoarthritic

Parameter= 4096*2= 8192

Parameters

LayerValue of parameters
Convolution16M
FF1102M
FF216M
Total134M

It takes a very large amount of time nearly hours for a machine on CPU to learn all the parameters. Hence they came with speed enhancers like faster processors known as GPU Graphic Processing Unit which may finish the work up to 85% faster than CPU.

HAPPY LEARNING!!

WHY DIAMONDS ARE SO EXPENSIVE ?

Diamonds are allotropes of carbon like graphite. But, the difference between them is tremendous. What makes diamonds so costly ? Well some might say that the extraordinariness, challenges in mining, toughness, cut, clearness, shading, and carat of diamonds make them costly and popular. Gold and silver are likewise uncommon, mining them is additionally troublesome however why just diamond is so costly ? Why people give diamond ring when they propose one another ?

Why Are Diamonds So Expensive? – EVEVIC JEWELRY

A few years ago it was not a trend to give diamond rings while proposing. There are many stones rarer than diamonds. They are costly as a result of a company called De Beers. Each diamond you find in this world comes from this company not because diamonds are very rare to find. There are numerous diamond mines in this world however this organization don’t let those diamonds to arrive at the market.

At the point when supply of a specific item is less however demand is high, this outcomes in making that item more costly. This company made the stock of diamonds exceptionally less. But, how ? Few years back diamonds were found only in India and Brazil. But then it was also found in Africa and that too in very large quantity. De beers was also one of the company which found a lot of diamonds in Africa. But the other mines company started selling diamonds because the supply of diamonds were increasing which can make them less expensive. They were in loss. De beers would have also done that but instead it started buying those diamonds by taking loans and because of that it became the owner of all mines in Africa. It became a monopoly and a monopoly does what it wants. Soon when other mines company discovered diamonds in Serbia and other countries De beers bought all of them. It became owner of all the diamonds in the world.

Yet, De beers never let people to realize that they have diamonds in exceptionally huge amount because then people won’t buy it. They restricted the stock of diamonds which made them uncommon. They further began promoting diamonds by giving statements like “A diamond is forever”. Because of this, the interest of people towards diamonds increased and they became expensive.

RESOURCES:

2. https://francisalukkas.com/why-are-diamonds-so-expensive-5-reasons/

HOW TO WAKE UP EARLY IN THE MORNING ?

How to get up early in the morning(8:00am) - Quora

Rising up early not only gives a good start to your day but also make you more concentrated. Many of us want to wake up early in the morning but we can’t because of our laziness. We always make commitments at night that we will wake up early in the morning to complete our work but we can’t. And when we wake up late in the morning we feel lazy and dizzy which affect our work. We keep procrastinating our work saying that “I will start it fresh from tomorrow”. But the same thing happens tomorrow and we keep saying this phrase. This same thing happens every single day and we start questioning “What’s wrong with my life ?”.

This can be avoided if we wake up early in the morning. Some tips to wake up early in the morning are:

1.Get on a sleep schedule

Figure out how much hours of sleep you require to feel fresh and active in the morning.


2.Improve your bedtime routine

It is advised to sleep early in order to wake up early. Even if you can’t fall asleep early, try to sleep. You will become habitual of sleeping early if you continue.


3.Move your alarm to avoid hitting snooze

Keep your alarm away from your bed. If possible keep it in other room so that you have to walk to snooze it.


4.Eat better and get regular exercise

Eating lots of fruit and vegetables can help you getting good sleep. Regular exercise can keep you healthy and you will feel less lazy in the morning.

THE BASIC AND BEST EXPLANATION ONE CAN GIVE YOU ABOUT INSURANCE AND BENEFITS OF IT….

                                                           The Noble facts on Insurance 

Basically, let us consider the term Insurance, what it is? And yes, you all do have a general idea of what it is or how it helps your family as we all pre-admit that events happen suddenly and nothing can be stopped.

To make our family and our future generations secure, these are made at the earliest years by the respective applicant whether on his name or on some of his family members. 

You get an insurance plan from a reputed organization so you are safe and secure financially for any circumstances in life. Always take measures to check whether you are applying under the right authorized place of issuer from the policy banks as fraudsters may consume your savings and cheat your whole money entirely.

Gradually a kind of general insurance is in boom these days as they provide support vitally under various criteria of your life including foreign travels and motor vehicles. 

Furthermore in simple terms I can recite as considering law facts, it is a kind of savings or asset that banks offer you to safeguard your money without losing it. In return to those benefits, they help you out if you are critically affected under the terms, I have mentioned below as you get a guarantee of payment from them. 

Based on the needs we can classify them under five essential categories and they are:

  1. Health/Medical Insurance                                            f) Marine Insurance
  2. Family Insurance                                                            g) Fire Insurance
  3. Travel Insurance                                                             h) Liability Insurance
  4. Vehicle Insurance                                                           i) Social Insurance
  5. Property Insurance                                                         j) Guarantee Insurance 

Various researchers say that these policies always benefit a whole generation even if the person who has the payment responsibility proves death. It is like a gift you leave to your children even if you die. About 3 out of 4 have secured their own and family life by taking up these premium plans, what about you? 

These policies are long-term or short-term contracts based on the amount and number of years you wish to pay for. As they provide reimbursement against your precious losses from a company or even from banks. The company takes into account the client’s risks in life thus making payments as a bit higher than they have invested/insured.

Certain people may have an opinion of why it is important but literally it is because you safeguard your family without some financial earnings of yours to run their life even after not with them. Just think about the situation: if there’s nothing left for them after you, what will happen? Life will become miserable and has to be left stranded without any support or protection from anyone. 

And make sure you opt for Term Life Insurance as it covers up greater periods kind of a life insurance totally under a specific life cover obviously. Also updating them on a monthly/yearly basis becomes necessary to make the flow of your premium continue until it ends and matures till the selected duration.

Also, you might face some additional charges if you discontinue it after certain months and you  don’t gain any benefit at all. So, it’s better to drop out if you try to discontinue your current plans in those premiums.

So, if you are reluctant about these plans or with a mind that these won’t work, I literally call you a mad person as you didn’t know or better consider only about you in better terms. Try to take into account the factors in reality as anything can happen.

And please don’t make you left-stranded as it is like you push them into a pit with your own hands which is really a heart-melting situation for anyone. Kind of a pin pricking our souls when we are supportless among others.

3 Most important time management techniques

Everyone gets 24 hours a day but those who have ability to get maximum out of these 24 hours are classified as successful. Time management is the key to convert 24 hours into 25 hours. In simple words time management is process of organizing and dividing your time into various activities.

It’s about simplifying how you work and getting things done better and faster. It’s about working smarter. It is a game of choices. You have to make a choice about how you want to use your precious time. So if you are interested in improving your time management skills, check out these cool techniques.

Eat that frog

Brian Tracy says “You cannot eat every tadpole and frog in the pond. But you can eat the biggest and ugliest one, and that will be enough, at least for the time being.”

Identify your most important task of the day, this is your frog. It is the most impactful task of your day so begin your day by tackling this frog. Start this work and do this without any interruptions. This will bring an early win in your day which will build the momentum and sense of accomplishment.

But what if you have multiple frogs? Eat the biggest frog first. So instead of doing easy tasks first, do the difficult ones.

The Pomodoro technique

It is one of the most simple yet effective time management technique. This technique forces you to do single task so that your brain can focus on only one thing at a time as switching between tasks reduces productivity.

According to this technique turn off all distractions and set a timer for 25 minutes. During that time you will only focus on that work. After 25 minutes take a break of 5 minutes. After repeating this process for 4 times, take a long break.

The reason why it is successful is that it creates a sense of urgency as you have only 25 minutes to make as much progress as you can. Also it forces you to take a break which keeps you fresh throughout the day.

The Eisenhower Matrix

Prioritizing your tasks is a crucial part of time management as you may be spending hours doing useless things. The Eisenhower Matrix( urgent-important matrix) helps you in discovering your important tasks.

This matrix divides all your tasks into 4 quadrants:

  1. Urgent and important: These are the most important tasks of your day. You have to do these tasks at any cost. This quadrant include crisis and deadline driven tasks.
  2. Not urgent and important: These are important tasks but can be delegated like business planning, building relationships. As these tasks are not urgent you can schedule them in near future.
  3. Urgent and not important: These are tasks like interruptions, non important email etc. As these tasks are not important delegate them instead of completing them now.
  4. Non important and non urgent: These tasks are distractions and time wasters like playing video games. Just eliminate these tasks and focus on important ones.

To make this matrix, write down all your task and insert each task in respective quadrant. To be more productive spend more time on Not urgent but important activities as these tasks are meaningful to you but not urgent.

So these are some time management techniques, try to implement them every morning and get the best out of your precious time.

HOW CAN YOU MANAGE YOUR TIME ?

How To Improve Time Management While Working From Home (Tips + Tools)

You can manage your time wisely if you can control your sub-conscious mind. You need to concentrate so you don’t want to get diverted.

1.Clear your mind. Trust yourself

Bring positivity in yourself and remind yourself that you can do it. You can do this by doing some creative activities, it could be painting, reading books, playing any sports or singing whatever catches your interest.

2.Start your day by setting goals. Stick it to the nearest wall.

This will remind you of your goals even if you are distracted. Looking at those goals you will feel that you should not waste your precious time and work hard.

3.Follow your decision


If you ever feel like giving up remind yourself “Why I decided to make a schedule ?”, “What made me do that ?” and stick back to it. If you control your desire today you will be able to control your brain tomorrow without any distraction.

4.Make a note of your activity every night

Keep a track of your progress. It will motivate you to work even harder.

5.Stop saying negative things

Your mind doesn’t understand what’s wrong or right. If you keep saying that you can’t do it, then you won’t be able to do.

Luis Guzman

Luis Guzman came into this world on 28th August, 1956. He was born in Cayey, Puerto Rico. He was nurtured in New York’s Greenwich Village. His Family consisted of his mother Rosa who worked in a hospital, his stepfather Benjamin Cardona who used to work as a TV serviceman. Presently he lives in Vermont, US with his wife Angelita Galarza-Guzman, and five children Cemi, Yemaya, Yoruba, Margarita, and Luna. He completed his graduation from The American University. Just after which he started his career as a social worker. Currently Luis works as an Actor in the Hollywood Film Industry. Some of his greatest work include the HBO’s Original series ‘How to make it in America’ and one of the most popular Netflix’s series ‘Narcos’. He is frequently and usually casted by two directors Steven Soderbergh, and Paul Thomas Anderson. Some of his other works are in 2003 Luis briefly owned a TV series at Fox called Luis, Short Eyes in 1977, No Picnic in 1986, Q&A in 1990, McBain in 1991, Journey 2: The Mysterious Island in 2021, Ana Maria in Novela Land in 2015, The Birthday Cake in 2021, and many more. He has also been a part of some popular TV shows such as The Equalizer released in 1985, Hunter released in 1990, House of Buggin’ released in 1995, Roadies released in 2016, and many more. He is available on social media but doesn’t seem to be that active.

Is the world becoming a meme?

I feel in today’s time, you are truly successful if a meme is based on you.

brainyquote.com
Made this meme as soon as I decided to write on this topic.

What is a meme?

The word meme is the short form of greek word mīmēma which means ‘imitated thing’. According to Wikipedia, a humorous image, video or text that is copied and rapidly spread by the internet users. It has become a lifestyle through which people give out their creativity. The reason it has become so popular is the connection viewers feel between them and the events portrayed.
With the rise in meme culture, meme makers that are known as memers have increased incredibly since, its not a tough task to make a meme, but being consistent and up to date is an important and must to have skill. With the decline in humour of COMEDY industry memes have come as life saviors.

How it came into existence

Memes have literally evolved with the internet and they became a thing in the mid 1990s. Memes in the form of short clips were shared by peope in usenet forums. People put their humor into the right place or as we see a right template. Earlier they were shared via mails, messages or even newspapers and as the electronics took over social media became a meme hub. It has become an important aspect of marketing strategy. Whenever a movie is about to be released, memes related to it are all over the internet, a very smart move by the marketing people because what’s better than meme when you want your stuff to be known by the audience.

Pros of meme

Meme shared by Dominos_india on twitter.
  1. Gives us a reason to SMILE: Feeling bored? Scroll through social media memes. Sad? Obviously memes!! Sometimes we are feeling down and really have someone to talk to, thats when people start looking for relatable things and memes provide them the feeling of satisfaction that there are others just like us, who go through similar things. They are meant to be funny even with the darkest of humor.
  2. A source of income: Big brands like Domino’s, IPL, are hiring professionals memers for their marketing. It helps them in popularity and also gives their fans a chance to interact with them via internet. Not only brand but celebrities share memes nowadays. Big meme pages get paid promotions regularly. Meme accounts, which these people started a few years ago have become a good source of income for them.
  3. A link between friends: You can’t talk to your friends everyday but you can share memes. Sharing memes has become a trend. There are groups for this single purpose where this small happiness is shared everyday and people connect to each other without having a proper conversation.
  4. Free of cost! This is the best thing about memes. You can get them anywhere and anytime without spending a single penny. Who doesn’t like to get things free?
pic courtesy: pinterest

According to psychologist paul Thagard in a 2013 web article, memes are not a good way to express extreme thoughts.

Cons of memes

  1. Offensive: memes that are funny to some might be offensive to others. With time they have become controversial, though hurting other’s sentiments should be avoided but you never know what can hurt people. This offensive side of meme culture gets unnoticed. People don’t understand the depth of it.
  2. Negativity: lately everything that goes viral becomes a meme and with it goes hate. People hate on others who they dislike or disagree with. For example, few days ago a lady was seen slapping a guy and soon as the matter was discovered, people got their fresh meme material much of which was funny but a small portion if it was purely bad taste. Abusing or hating should never be considered right in memes.
  3. Short lived: memes get famous for a short period of time and are replaces by others as soon as something new comes in market. They are forgotten easily and sometimes you just get bored of them because there are so many similar memes they don’t appeal to us the same way others do.

Conclusion

Despite the pros and cons, it’s important for the public especially youngsters to understand that memes are just a means of making people laugh but within the limits. We need to understand that mocking others or using the memes to laugh on sensitive topics should be avoided. There have been many incidents in the past where people have made meme without acknowledging the seriousness of the matter. Just yesterday I saw a meme on people who got killed by clinging to the plane in Afghanistan.
On the other hand there have been cases where memes have saved people in their gloomy days. And they have also been helpful in spreading information on a wide scale. We get the news of an earthquake from meme fater than the media. Funny but true.
Meme culture can have repercussions on our mental well being, it affects the way we see our society and sometimes stops us from changing by approving our toxic traits.

Let’s not make this world a meme and keep it real. Laugh at funny but be serious when required. Laughing about negative aspects of human life is not ok. Making memes on suicide, depression and other such matters is not ok. Turning these serious matters into trivial ones is not ok!! Let’s enjoy memes that are really funny and within the limits.

On a lighter note…

Pic courtesy: HumorNama

Reference: https://smeharbinger.net

https://www.wikipedia.org

Technology in alliance with Health

The world is moving at a fast pace and so is the technology. The developments are taking place all over the globe with the help of new technologies being invented to solve problems and increase efficiency. It makes operations easy and simple. But it is taking shape of a new trend where machines are valued more than human resources. Robots are being developed to challenge the human ability. We are not much far from the time where everything would be done by the robots and people would just stare them doing tasks. Even the small and simple work are now being outsourced to machines, be it at workplace or casual areas.

Photo by Anamul Rezwan on Pexels.com

This is promoting laziness among the people. The advancement of technology is providing comfort without any hard-work. From cooking to cleaning to switching on the ACs, everything is being done by just a click of the remote. The factories as well as home are covered with machines and automated equipments. This can have effects on health of people. It was the earlier times when people used to be healthy and fit because they did all work by themselves with full dedication. There were hardly any machines and that too to compliment their hard work. Now that development is taking place, it is somehow being misused for the sake of comfort and less is taken care of health. Being on the couch the whole day, ordering fast food from restaurants and spending the day without doing any work has become a habit now. Procrastination and refusal are key factors ruling the life now-a-days. There are no considerable movements physically that can support a healthy life and make the body work.

It is essential for the body to work to its full capacity otherwise one may face bad health physically as well as mentally. The structure of a human body is designed to work. The technology better be used for global accomplishments and improving the condition of the place we live. The garbage collection is something which can harm the health of people involved in it and therefore, we should bring out effective measures to solve this problem through technological assistance. It would be useful enough regardless employing tech devices to do services of waiter in restaurants, etc. It requires high intelligence and costs to make up machines or robots and that the efforts should be respected and directed towards more important issues and present concerns.

Photo by ThisIsEngineering on Pexels.com

Development not only refers to building up good infrastructure but also to skilled human resources and their well being. It is seen mostly people involve in mental work ignoring the importance of physical exercise, etc. Working all day long on the work desk is not good for health. It puts a lot of pressure to the mind and freezes the body restricting flexible movements.

Usage of tech devices that build up laziness should be avoided in daily life. Outsourcing of work should be done where it is required and not when you wish to escape physical involvement unnecessarily.

HAVE WE FORGOTTON OUR SHEROES ?

Women have made landmark contributions encompassing various fields.Its time we sing joys of celebration for our sheroes too like we do for men.They have suffered various setbacks in life but emerged powerful as pointed out by Swami Vivekanand ,“Woman has suffered for eons, and that has given her infinite patience and infinite perseverance”.

For celebration we need to know about the milestones they have crossed and the hinderances they’ve overcome.

Their benefactions can be categorized Two folds .First theEducational Sector.

Second the Political and the Social Sector.

In Education:-

When discussing about Economy we cannot rule out the role education.The first female graduates Kadimbini Ganguly and Chandramukhi Bose long broke the stereotypes of Male centric education system.There have been other historic Educationists of India like Ayyalasomayajula Lalitha who became the first Engineer of India back in 1943.

Anandibai Gopalrao Joshi was the first female doctor of India.

SavitriBai Phule along with Mahatma Jyotiba Phule led a movement for education of Girls.

They faced social ostracization and societal pressures but did not stop.In the end, SavitriBai Died while serving the victims of plague.In the field of law which was highly patriarchic Cornelia Sorabji broke all shakles and became India’s first female lawyer.                                                           Durgabai Deshmukh an early lawyer and political activist said-“I had then decided to take up the study of law so that I could give women free legal aid and assist them to defend themselves.”

These woman are not mere inspirations or role models,theybecame game changers and paved the way for education for the upcoming generation.

Polity:-

Politics despite being male dominated ,some Strong Female leaders have made immense contributions to freedom struggle. Going back to the the Delhi Sultanate,Razia Sultan became the first and last Female to ever became sultan in 1236.

After that there were different princely states in which women lead their dynasties. Rani Laxmibai became an epitome of strength along with JhalkariBai giving a strong fight to British.

Uda Devi a ‘Dalit Virangana’ fought the British Bravely in 1857 Battle.

Rani Gaidinliu of Manipur,was imprisoned at a young age of 13 because of her Anti-British Stand.During the 1857 Revolt the participation of Begum Hazrat Mahal of Lucknow is unmatched.AhalyaBai Holkar of Malwa Kingdom is still remembered as one of the Finest Leaders of India.In the modern era of freedom struggle Female Leaders like Sarojini Naidu,Annie Besant,Vijay Laxmi Pandit(First Female President of UNGA),Aruna Asif Ali(Grand Old Lady of Independence) etc fought against the British.        

Be it Anti partition movement of 1906 or Non Co-operation Movement or Civil Disobedient Movement, Women have added by large,the amplitude of struggle.

Revolutionaries like Capt.Laxmi Sehgal lead the Jhasi rani regiment of INA Army made by Subhash Chandra Bose.AlsoPritilata Waddedar,Kalpana Datta took up arms against the British.

Post-Independence Rajkumari Amrit Kaur became the first woman Health Minister of India.

Indira Gandhi not just became India’s First Prime Minister but also was the first female Finance Minister(1970-71),to present a budget.Sucheta Kriplani became the first female to become a Chief Minister of UP,also Sarojini Naidu became the first ever female Governor in UP.

The list of contributions made by our early Women is never ending. Such zeal and sacrifices, on par with those of Men, despite miniscule opportunities, simply motivates us.

It would be appropriate to agree with Mohammad Ali Jinnah when he quoted,

There are two powers in the world; one is the sword and the other is the pen. There is a great competition and rivalry between the two. There is a third power stronger than both, that of the women”.

Mohd Ali Jinnah

HOW TO KNOW THAT YOU’RE ON THE RIGHT PATH ?

We all try really hard to become successful and for that we need to know our right path. We think about the situation if we not become successful in future. The fear of failure haunts everyone. We all are in a blind race of success and sometimes we forget our genuine subjects of interest in this rat race.

Pin on LDS Quotes

You all might have heard stories of people in which, initially they were involved in other professions like engineer or management but now they are in different profession maybe actor or fashion designer. There could be many explanations for it, one of them could be they didn’t have a clue about their right path, their inclinations.

The signs which tell that you are on the right path are:

1.You’re not doing things that make you feel uncomfortable.

2.You’re not making statements you later apologize for.

3.You don’t want to think twice about the Big Deal Stuff.

4.You feel your feeling of significant worth or worth and see it reflected back by your current circumstance.

5.You’re certain about your decisions and life.

The signs which tell that you are on the wrong path are:

1.The current situation is costing you your force.

2.You feel depleted. Getting tired is fine. Depleted means drained.

3.You feel ridiculously befuddled about where your life is going.

4.You are particularly on some unacceptable way when you feel as you are “losing yourself” to a specific circumstance.

5.In the event that you wind up saying “I can’t resist the urge to feel like I lost myself,” then, at that point you’ve presumably sold out yourself somehow or another.

If you ever feel like you are on the wrong path and need to escape the present situation then you ought to ask yourself questions like “What do I really want ?“. If you feel you are too afraid to get out of circumstance thinking it would make it only worse, then you should know that it is your life. You reserve an option to live your life in your own particular manner. You don’t have to compromise with your interests. Individuals who are in contact with their inward aides can all the more likely explore life’s hindrances. They quit jobs as they know aren’t ideal for them. They cut off relationships that aren’t satisfying. They settle on extreme decisions, since they know they’re taking the right decisions.

It’s hard to know the correct way for yourself however not impossible. The primary thing you need is to trust yourself, realize that you’re picking a right way for yourself and no one knows you better than you. Decide your objective and achieve it everyday, every week and every month. Don’t be hard on yourself. Relax and think with peaceful mind.

RESOURCES:

  1. https://everydaypower.com/signs-youre-on-the-right-path/

2. https://www.mindbodygreen.com/0-11308/how-do-you-know-if-youre-on-the-right-path.html

DEEP LEARNING SERIES- PART 8

The previous article was about the padding, stride, and parameters of CNN. This article is about the pooling and the procedure to build an image classifier.

Pooling

This is another aspect of CNN. There are different types of pooling like min pooling, max pooling, avg pooling, etc. the process is the same as before i.e. the kernel vector slides over the input vector and does computations on the dot product. If a 3*3 kernel is considered then it is applied over a 3*3 region inside the vector, it finds the dot product in the case of convolution. The same in pooling finds a particular value and substitutes that value in the output vector. The kernel value decides the type of pooling. The following table shows the operation done by the pooling.

Type of poolingThe value seen in the output layer
Max poolingMaximum of all considered cells
Min poolingMinimum of all considered cells
Avg poolingAverage of all considered cells

The considered cells are bounded within the kernel dimensions.

The pictorial representation of average pooling is shown above. The number of parameters in pooling is zero.

Convolution and pooling are the basis for feature extraction. The vector obtained from this step is fed into an FFN which then does the required task on the image.

Features of CNN

  1. Sparse connectivity
  2. Weight sharing.

    

    Feature extraction-CNN              classifier-FNN

In general, CNN is first then FFN is later. But the order or number or types of convolution and pooling can vary based on the complexity and choice of the user.

Already there are a lot of models like VGGNet, AlexNet, GoogleNet, and ResNet. These models are made standard and their architecture has been already defined by researchers. We have to reshape our images in accordance with the dimensions of the model.

General procedure to build an image classifier using CNN

  1. Obtain the data in the form of image datasets.
  2. Set the output classes for the model to perform the classification on.
  3. Transform or in specific reshape the dimension of the images compatible to the model. The image size maybe 20*20 but the model accepts only 200*200 images; then we must reshape them to that size.
  4. Split the given data into training data and evaluation data. This is done by creating new datasets for both training and validation. More images are required for training.
  5. Define the model used for this task.
  6. Roughly sketch the architecture of the network.
  7. Determine the number of convolutions, pooling etc. and their order
  8. Determine the dimensions for the first layer, padding, stride, number of filters and dimensions of filter.
  9. Apply the formula and find the output dimensions for the next layer.
  10. Repeat 5d till the last layer in CNN.
  11. Determine the number of layers and number of neurons per layer and parameters in FNN.
  12. Sketch the architecture with the parameters and dimension.
  13. Incorporate these details into the machine.
  14. Or import a predefined model.  In that case the classes in the last layer in the FNN must be replaced with ‘1’ for binary classification or with the number of classes. This is known as transfer learning.
  15. Train the model using the training dataset and calculate the loss function for periodic steps in the training.
  16. Check if the machine has performed correctly by comparing the true output with model prediction and hence compute the training accuracy.
  17. Test the machine with the evaluation data and verify the performance on that data and compute the validation accuracy.
  18.   If both the accuracies are satisfactory then the machine is complete.

HAPPY LEARNING!!

DEEP LEARNING SERIES- PART 7

The previous article was about the process of convolution and its implementation. This article is about the padding, stride and the parameters involved in a CNN.

We have seen that there is a reduction of dimension in the output vector. A technique known as padding is done to preserve the original dimensions in the output vector. The only change in this process is that we add a boundary of ‘0s’ over the input vector and then do the convolution process.

Procedure to implement padding

  1. To get n*n output use a (n+2*n+2) input
  2. To get 7*7 output use 9*9 input
  3. In that 9*9 input fill the first row, first column, last row and last column with zero.
  4. Now do the convolution operation on it using a filter.
  5. Observe that the output has the same dimensions as of the input.

Zero is used since it is insignificant so as to keep the output dimension without affecting the results

Here all the elements in the input vector have been transferred to the output. Hence using padding we can preserve the originality of the input. Padding is denoted using P. If P=1 then one layer of zeroes is added and so on.

It is not necessary that the filter or kernel must be applied to all the cells. The pattern of applying the kernel onto the input vector is determined using the stride. It determines the shift or gaps in the cells where the filter has to be applied.-

S=1 means no gap is created. The filter is applied to all the cells.

S=2 means gap of 1. The filter is applied to alternative cells. This halves the dimensions on the output vector.

This diagram shows the movement of filter on a vector with stride of 1 and 2. With a stride of 2; alternative columns are accessed and hence the number of computations per row decreases by 2. Hence the output dimensions reduce while use stride.

The padding and stride are some features used in CNN.

Parameters in a convolution layer

The following are the terms needed for calculating the parameter for a convolution layer.

Input layer

Width Wi – width of input image

Height Hi – height of input image

Depth Di – 3 since they follow RGB

We saw that 7*7 inputs without padding and stride along with 3*3 kernels gave a 5*5 output. It can be verified using this calculation.

The role of padding can also be verified using this calculation.

The f is known as filter size. It can be a 1*1, 3*3 and so on. It is a 1-D value so the first value is taken. There is another term K which refers to the number of kernels used. This value is fixed by user.

These values are similar to those of w and b. The machine learns the ideal value for these parameters for high efficiency. The significance of partial connection or CNN can be easily understood through the parameters.

Consider the same example of (30*30*3) vector. The parameter for CNN by using 10 kernels will be 2.7 million. This is a large number. But if the same is done using FNN then the parameters will be at least 100 million. This is almost 50 times that of before. This is significantly larger than CNN. The reason for this large number is due to the full connectivity. 

                                                 

Parameter= 30*30*3*3*10= 2.7M

HAPPY READING!!

QUALITIES OF GOOD LEADER

Best characteristics of an effective leader | IronStrike

1.Good Communications skills

Communication can make or break your efforts to connect with your team, manage and coordinate initiatives, and build trust within your organization. Great pioneers speak with a worker first focal point. They communicate based on the needs and preferences of their team members and seek to listen to and understand the employee experience.

2.Have a dream for what’s to come/have a vision

Vision gives center, inspiration, and course to travel through change and snags. Great pioneers have a reasonable vision and can express the way ahead to their group. Leaders ought to have the option to interface the work on the ground to the master plan and give the explanation for all that they do.

3. Understanding what others want

For dealing with a group one should understand what sorts of jobs are reasonable for every single individual from the group. The pioneer ought to have the capacity to use every individuals potential to the most extreme. Each colleague ought to have singular objectives fell down from a solitary Goal and vision of the group. Colleagues accordingly feel that their commitments are significant in accomplishing the goal/Goal.

4.Consider themselves responsible

Great pioneers consider themselves responsible and are continually attempting to improve and advance. They are perpetually discontent with business as usual. Responsibility and consistent improvement require a guarantee to looking for and following up on criticism, gaining from errors, and course remedying.

5.Show appreciation

A grateful pioneer is an powerful pioneer. Appreciation brings positive collaborations and association, expands commitment, and fabricates flexibility. Grateful leaders comprehend that achievement is a collaboration and they make a point to perceive the work and commitments of their group.

RESOURCES:

  1. https://www.ccl.org/articles/leading-effectively-articles/characteristics-good-leader/

2. https://www.quantumworkplace.com/future-of-work/5-qualities-of-a-good-leader