Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Creating a Neuron | Neural Network from Scratch
Introduction to Neural Networks
course content

Kursinnehåll

Introduction to Neural Networks

Introduction to Neural Networks

1. Concept of Neural Network
2. Neural Network from Scratch
3. Conclusion

book
Challenge: Creating a Neuron

Uppgift

Swipe to start coding

Your task is to implement the basic structure of a neuron by completing the missing parts.

  1. Initialize the weights (an array) and bias (a single number) with random values from a uniform distribution in range [-1, 1) using NumPy.
  2. Compute the weighted sum of the inputs using the dot product, add the bias, and store the result in input_sum_with_bias.
  3. Apply the sigmoid activation function to input_sum_with_bias to obtain the neuron's output.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 2
toggle bottom row

book
Challenge: Creating a Neuron

Uppgift

Swipe to start coding

Your task is to implement the basic structure of a neuron by completing the missing parts.

  1. Initialize the weights (an array) and bias (a single number) with random values from a uniform distribution in range [-1, 1) using NumPy.
  2. Compute the weighted sum of the inputs using the dot product, add the bias, and store the result in input_sum_with_bias.
  3. Apply the sigmoid activation function to input_sum_with_bias to obtain the neuron's output.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 2
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt