Artificial neural networks are an attempt to simulate the learning behavior of the brain. The first experiments involve connecting parts of the brain to stimulate learning
- Available library
- Types of IA tools
- Neurons
- What is an Activation Function
- Loses functions
- Key concepts
Artificial intelligence ⇒ Seeks to replicate human intelligence.
Machine learning ⇒ Techniques that seek to replicate machine learning.
Deep learning ⇒ Low Learning.
It is a main component cell of the nervous system, whose main function is to receive, process and transmit information through chemical and electrical signals thanks to the electrical excitability of its plasma membrane.
An artificial neural network try to simulate the natural behavior, Perceptron is the name of the main artificial neuron.
Interconnected nerve cells
The perceptron is an artificial neuron that seeks to imitate the functioning of the brain's neurons. The objective is to have several perceivers in order to communicate with each other. This is done in order to include atypical cases. It is used in supervised learning. , in this way the weights are altered as the results coincide with the real data
posterior area of a neuron where there is a filter, activation function, which modifies the result value, transmits the information generated by the weights and inputs, this is useful for solving problems with high difficulty.
What kind of activation function is used
import numpy as np
sigmoid = lambda x : 1 / (1 + np.exp(-x))
step = lambda x: np.piecewise(x, [x < 0, x >= 0], [0, 1])
relu = lambda x : np.piecewise(x, [x < 0, x >= 0], [0, lambda a : a])
They are functions that measure the percentage of error that the network model had, for practical purposes the lowest value is the best
- Learning rate ⇒ It means the pace with which the value will be measured. Consider the following case
- Very short steps, greater ability to find the minimum error, however it has a high computational cost.
- Very long steps, lousy performance, may not find the minimum value of the loss function due to its high volatility in the function
Moment ⇒ It is used to calculate the rate or speed of Learning rate in order to find the global minimum.
What Kind of activation function and losses I should use ??
Problem type | Last Hyper-layer Activation | Loss Function |
---|---|---|
Binary classification | Sigmoid |
binary_crossentropy |
MultiClass, Single label Classification | softmax |
categorical_crossentropy |
MultiClass, MultiLabel Classification | sigmoid |
binary_crossentropy |
Regression to arbitrary values | None |
mse |
Regression to values between 0 and 1 | sigmoid |
mse or binary_crossentropy |
- Scalar, it has no dimension.
- Vector, one dimension.
- Matrix, two vectors.
- Tensor, greater than 3 dimensions.
Time series, 3 dimensions,
- Number of examples.
- Characteristics of the examples
- Change of the example over time.
4 dimensions
Images, rgb, + quantities of examples
Neurona. (2023, 26 de septiembre). Wikipedia, La enciclopedia libre. Fecha de consulta: 22:26, septiembre 26, 2023 desde https://es.wikipedia.org/w/index.php?title=Neurona&oldid=154069947.