Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Creating a Neuron | Neural Network from Scratch
Introduction to Neural Networks
course content

Зміст курсу

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

Завдання

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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 2
toggle bottom row

book
Challenge: Creating a Neuron

Завдання

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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 2
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt