mirror of
https://github.com/guezoloic/neural-network.git
synced 2026-01-25 04:34:22 +00:00
feat: add main and vocabulary text
This commit is contained in:
@@ -19,7 +19,16 @@
|
||||
"\n",
|
||||
"An artifical *neuron* works similary to a biological *neuron* in the way it process information. In a brain, like yours, a *neuron* receives signals from other *neurons*, processes them and sends an *output*.\n",
|
||||
"\n",
|
||||
"An artifical *neuron* takes **multiple *inputs*** (such as numbers), applies updated values called **weights** to each *inputs*, adds a constant called **bias**, apply a specific function to normalize the value called **Activation function**, and then `returns` the *output* of the Activation function (such as: **sigmoid**, **ReLU**, etc...)."
|
||||
"An artifical *neuron* takes an **input** (such as numbers), applies updated values called **weights** to each *inputs*, adds a constant called **bias**, apply a specific function to normalize the value called **Activation function**, and then `returns` the *output* of the Activation function (such as: **sigmoid**, **ReLU**, etc...).\n",
|
||||
"\n",
|
||||
"## Vocabulary / key components\n",
|
||||
"\n",
|
||||
"1. **inputs**: inputs are usually a unique list of numbers, they are simply values sent to a neuron, which then process them.\n",
|
||||
"\n",
|
||||
"2. **weights**: weights are also a list of numbers that has the same size of inputs. The weight determines how important de the number of the input is. If it's high, the input matters. Else, if the weight is low, the number matters less.\n",
|
||||
"\n",
|
||||
"3. **bias**: the bias are constant that are added after all the inputs are multiplied by the weight. it helps shift the resultat up or down.\n",
|
||||
"\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -115,6 +124,7 @@
|
||||
"import math\n",
|
||||
"import random\n",
|
||||
"\n",
|
||||
"# Neuron 3\n",
|
||||
"class Neuron:\n",
|
||||
" def __init__(self, isize: int) -> None:\n",
|
||||
" self.isize = isize\n",
|
||||
|
||||
Reference in New Issue
Block a user