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

Contenu du cours

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

Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 2
toggle bottom row

book
Challenge: Creating a Neuron

Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 2
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
We're sorry to hear that something went wrong. What happened?
some-alt