Categories

Artificial Intelligence

The Hyperbolic Tangent: A Powerful Activation Function

The hyperbolic tangent (tanh) is an activation function that squashes any real value into the interval (-1, 1) with zero-centred output, which removes the systematic gradient bias seen with sigmoid. It is the standard activation inside the LSTM and GRU memory cells used in recurrent networks.

Artificial Intelligence

The Sigmoid Function: A Key Tool in Neural Networks

The sigmoid function maps any real number to a value between 0 and 1, which makes it the natural activation function for expressing probabilities in a neural network. It is differentiable across its whole domain, though it suffers from saturation and vanishing gradients in deep networks, so today it is mostly reserved for the output layer.

Artificial Intelligence

The Leaky ReLU Function and Its Role in Neural Networks

Leaky ReLU is an activation function derived from ReLU that replaces the zero output for negative inputs with a small slope, typically 0.01. This keeps the gradient from ever reaching zero, which prevents the dying neuron problem and stabilizes training in very deep convolutional, recurrent, and GAN networks.

Artificial Intelligence

The Step Function: An Essential Tool in Neural Networks

The step function, or Heaviside function, is the simplest activation function in a neural network: it maps any input to a binary output, 0 or 1, depending on whether it crosses a fixed threshold. It was the core decision mechanism of Rosenblatt's perceptron in 1958, but its derivative is zero almost everywhere, so modern networks use sigmoid or ReLU instead.

Artificial Intelligence

Linear Function: A Common Activation Function

The linear function f(x) = ax + b is the simplest activation a neural network can use: in its identity form, f(x) = x, it is the standard choice for the output layer in regression, because it does not bound the range of possible values. In hidden layers it fails, because composing several linear functions collapses the whole network into one equivalent linear layer.

Artificial Intelligence

Mathematical Formulation of Artificial Neural Network Input

In a neural network, the input is represented as a column vector x in R^n that the hidden layer transforms through a weight matrix W, a bias vector b, and a non-linear activation function such as ReLU, sigmoid, or tanh. Training adjusts W and b by minimising the loss function via gradient descent and backpropagation.

Artificial Intelligence

Multilayer Neural Networks: Advancing Artificial Intelligence

A multilayer neural network consists of an input layer, one or more hidden layers, and an output layer, where each neuron weights its inputs and applies a non-linear activation function before passing the result to the next layer. Through forward propagation and backpropagation, the network adjusts millions of weights to learn hierarchical representations capable of classifying images, translating text, or generating language.

Artificial Intelligence

Image Analysis: Computer Vision

Computer vision is the branch of artificial intelligence that lets machines interpret digital images: detecting objects, segmenting regions and recognising patterns through convolutional neural networks. Since 2012, when AlexNet cut ImageNet classification error to 15.3%, it has spread into manufacturing, medicine, transport and precision agriculture.

Technology

Development and Advances in Artificial Intelligence

Modern artificial intelligence rests on three pillars: machine learning, deep neural networks, and natural language processing. These techniques have pushed image recognition and machine translation past human-level precision on specific tasks, though the overall system still depends on quality data and constant human oversight.