Coding a simple neural network for solving XOR problem (in 8minutes) [Python without ML library]
[ad_1]
XOR – Problem
Neural Network properties:
Hidden Layer: 1
Hidden Nodes: 5 (6 with bias)
Learning Rate: 0.09
Training steps: 15000
Activation function: Sigmoid
Backprob: Gradient Descent
Music: https://www.youtube.com/watch?v=9lAhxPr5GKM
Source
[ad_2]
I was concentrating more on the background sound so nice to hear…..
Mantap videonya.
Saya juga ada nih rekomendasi channel lain buat belajar neural network siapa tau cocok hehe.
https://youtu.be/vyAsO_fzNF8
Code link?
how to change the hidden node to two and input to two also
Please answer me
Hello how to fix false no module named false
In row 33 where is used a2?
Other questions: why did you say 5 nodes (6 with bias) calling them "hidden"? Usually 2 are enough (2 for input layer, 2 for hidden layer, 1 for output layer). Why considering only 1 bias? Should be 7 nodes where 2 of them are bias, one fore "hidden layer" and one for "output" layer. Why is known the learning rate? I mean… a biological self-learning neural network has a casual learn-rate… I suppose…
Thanks in advance who will answer me
whats the architechture of this NN? like how many input node including bias, how many hidden layer? how many nodes each hidden layer? kinda like that I just want to know because I want to implement it in C++
Cool i was searching ones with bias but this was the only one
Thank you!
Anyone help
Python networking test2. UDP group chat without threads. Write a script “gchat.py” such that when it is called with an argument, which must be an IP address of a server, it acts as a client, and when it is called without an argument, it acts as a server. Example, “python3 gchat.py 54.38.181.152” is for running a client and “python3 gchat.py” is for running as a server (in this example must be run obviously on a machine with IP address 54.38.181.152). The script provides a kind of a group chat. The communication is in UDP only (so packets sometimes can be lost). You must not use threads or processes. Everything must be in a single mainthread. You must use only the low-level modules (no modules where all or almost all is done). The server listens the UDP port 12345. The client sends the keyboard input lines to the server via UDP (one packer per each input line). Both, the client and the server, display every UDP packet coming from the network as a text with a suffix indicating the source, such as “Hello there! by ('54.38.181.152', 12345)”. Whatevertext the server receives from keyboard, it transmits the text to all its clients. Whenever the server receives a message from a network, it retransmits the message to all other clients (except to the client where from the message is received). Whenever someone sends a message to the server, the server considers it as a new client
Please help
code please?
anyone from nptel??