With the xor_gate_pure_neuron exercise, I ended up doing: or_result = or_gate(entry_1, entry_2) and_result = and_gate(entry_1, entry_2) return activate(or_result - and_result) I didn't realise I was supposed to use wieghts but I guess it's pretty much the same thing
Indeed. It is just that your weights do not appear here. The main purpose of this exercice was to understand how things perform inside the black box to create an inference.
Absolutely. The purpose of this cell was to show an easier approach to understand... but this 2 layers approach is what you would see in a conventional neural network
Hello! It's likely you only took the notebook but did not download the required library you need. It is available at this link: github.com/alexandrelefourner/neural_networks_tutorial/tree/master/lexml My advice would be to install git and execute the command as follow. Or go to the link "github.com/alexandrelefourner/neural_networks_tutorial" then click on "Clone or Download", next "download as zip". This way, you have everything you need for the tutorial :)
With the xor_gate_pure_neuron exercise, I ended up doing:
or_result = or_gate(entry_1, entry_2)
and_result = and_gate(entry_1, entry_2)
return activate(or_result - and_result)
I didn't realise I was supposed to use wieghts but I guess it's pretty much the same thing
Indeed. It is just that your weights do not appear here.
The main purpose of this exercice was to understand how things perform inside the black box to create an inference.
Simpler : the not_gate simply returns activate(1 - activate(entry))
Absolutely.
The purpose of this cell was to show an easier approach to understand... but this 2 layers approach is what you would see in a conventional neural network
NameError in first cell
NameError: name 'test_activation' is not defined
Hello!
It's likely you only took the notebook but did not download the required library you need.
It is available at this link: github.com/alexandrelefourner/neural_networks_tutorial/tree/master/lexml
My advice would be to install git and execute the command as follow. Or go to the link "github.com/alexandrelefourner/neural_networks_tutorial" then click on "Clone or Download", next "download as zip".
This way, you have everything you need for the tutorial :)
"Hey, Where Are The French Subtitles"!"🤣
I don't use french subtitles. The video is translated here :
ua-cam.com/video/s5X64fmAqUo/v-deo.html