Posts

Showing posts from February, 2022

Keywords and Identifiers in Python

Image
    What's an Identifier?   A name created by the programmer to define a variable, function or class is known as an identifier. The identifiers are used to identify these individualities uniquely. It's important to give meaning names to the identifiers to make the code easy readable. It'll also assist other programmers to distinguish what the program is about.     ·        They're applied to name a variable, a function, a class, a structure, a union.   ·        It's created to offer a unique name to an individuality.   ·        They can cohere of alphabets, figures, and underscores.   ·        There's no punctuation or special symbol, except the underscore.   What's a Keyword?   The keywords are supplied by the programming language for a especial task. They've special meanings. Keywords can not be applied as identifiers. The keywords are also known as reserved words. When there's a statement in the program as int num

ReLU Activation Function

Image
      Activation Function   Activation functions carry out the latest value given out from a neuron, but what's the activation function and why do we want it?   So, an activation function is generally just a plain function that transforms its inputs into outputs that have some range. There are varied types of activation functions that accomplish this task in a different forms, For example, the sigmoid activation function takes input and maps the reacting values in between 0 to 1.   Still, the affair signal becomes a simple direct function, If the activation function isn't applied. A neural network without activation function will act as a direct regression with bounded knowledge power.   ReLU function   The rectified direct activation unit, or ReLU, is one of the many milestones in the deep knowledge revolution. It’s plain, yet it’s far superior to prior activation functions like sigmoid or tanh.   ReLU formula is f (x) = maximum (0, x).   Both t