What’s A Neural Network?

Advertisements

The general concept of the work of this system can be summarized by analogy with the work system of the brain, which depends for its content on a mathematical mechanism based on several inputs that determine the structure of the required results.

Accordingly, we can define the components of the Neural Network:

  • input layer x
  • Irregular hidden layers
  • output layer ŷ
  • Different equilibriums between classes w and b
  • Determine the sigmoid activation function of the hidden layers σ.

Often when calculating the number of Neural Network layers the input layer is ignored as shown in this two-layer Neural Network architecture diagram :

It is easy to create a Neural Network in Python:

Neural Network Training:

The value of ŷ for a simple two-layer Neural Network is derived by the following equation:

It is clear from the previous equation that the values ​​of the variables represented by the weights w and the biases b, after careful tuning of their values, determine the output of ŷ, which represents the output value, and this is known as the Neural Network training.

We can divide each iteration of the training process into the following stages:

• The stage of calculating the value of the outputs, defined as: feedforward

• The stage of updating the values ​​of w and b, defined as: backpropagation

This is what the sequential graph shows :

feedforward

The above graph shows that Feedforward is a simple calculus and accordingly the output of a two-layer Neural Network is :

By adding the basic task of Feedforward in the Python code in our previous case, assuming that the value of biases is zero, that is, it is equal to zero, we get:

However, we have to find a more accurate method for our predictions.. This method is provided by the Loss Function property that we will learn about in the next essay .

Advertisements

؟ Neural Network ما هو مفهوم

Advertisements

يمكن تلخيص المفهوم العام لعمل هذه المنظومة بتشبيهها بمنظومة عمل الدماغ التي تعتمد بمضمونها على آلية رياضية مبنية على عدة مدخلات تحدد هيكلية النتائج المطلوبة

Neural Network وبناءً على ذلك يمكننا تحديد مكونات

x طبقة الإدخال *

طبقات مخفية غير منتظمة * 

ŷ طبقة الإخراج *

b و w توازنات مختلفة بين بين الطبقات *

σ تحديد وظيفة التنشيط السينية للطبقات المخفية *

Neural Network في الغالب عند حساب عدد طبقات

يتم تجاهل طبقة الإدخال كما هو موضح في

Neural Network هذا الرسم البياني لبنية

: مؤلفة من طبقتين

Neural Network ويعتبر من السهل إنشاء

في لغة بايثون

: Neural Network تدريب

Neural Network لـ ŷ يتم استنتاج قيمة

: بسيطة من طبقتين بالمعادلة التالية

يتبين لنا من خلال المعادلة السابقة أن

b والتحيزات w قيم المتغيرات المتمثلة بالأوزان

بعد تحري الدقة في ضبط قيمها هي التي

التي تمثل قيمة المخرجات ŷ تحدد ناتج

Neural Network وهذا ما يُعرَف بتدريب

يمكننا تقسيم كل تكرار لعملية التدريب

: إلى المراحل التالية

ŷ مرحلة حساب قيمة المخرجات *

    feedforward : والمحددة باسم

    b و w مرحلة تحديث قيم *

    backpropagation : والمحددة باسم

    : وهذا ما يوضحه الرسم البياني المتسلسل

    Feedforward

    Feedforward يوضح الرسم البياني السابق أن

    هو عملية حسابية بسيطة للتفاضل والتكامل

    Neural Network وبناءً عليها يكون ناتج

    : مكونة من طبقتين هو

    Feedforward وبإضافة المهمة الأساسية لـ

    في كود بايثون في حالتنا السابقة مع افتراض

    أن قيمة التحيزات معدومة أي أنها

    : تساوي الصفر ينتج لدينا

    إلا أنه يتوجب علينا إيجاد طريقة

    .. أكثر دقة لتنبؤاتنا

    Loss Function هذه الطريقة توفرها لنا خاصية

    التي ستنعرف عليها في المقال القادم

    Advertisements

    One thought on “What’s A Neural Network?

    1. Wonderful beat ! I wish to apprentice while you amend your web site, how can i subscribe for a weblog web site? The account helped me a acceptable deal. I have been a little bit acquainted of this your broadcast offered bright clear concept

      Like

    Leave a comment