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

Contenido del Curso

Introduction to Neural Networks

Introduction to Neural Networks

1. Concept of Neural Network
2. Neural Network from Scratch
3. Model Training and Evaluation
4. Conclusion

book
Challenge: Creating a Neuron

Tarea

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.

Once you've completed this task, click the button below the code to check your solution.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 2
toggle bottom row

book
Challenge: Creating a Neuron

Tarea

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.

Once you've completed this task, click the button below the code to check your solution.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 2
Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
We're sorry to hear that something went wrong. What happened?
some-alt