![](https://dataaaworld.com/wp-content/uploads/2022/09/poster-copy.jpg?w=945)
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 :
![](https://dataaaworld.com/wp-content/uploads/2022/09/1_sx6t0y4aa3arh7ibs_sdqw.png?w=500)
It is easy to create a Neural Network in Python:
![](https://dataaaworld.com/wp-content/uploads/2022/09/untitled-3-copy.jpg?w=1024)
Neural Network Training:
The value of ŷ for a simple two-layer Neural Network is derived by the following equation:
![](https://dataaaworld.com/wp-content/uploads/2022/09/d985d8b9d8a7d8afd984d8a9-training.png?w=355)
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 :
![](https://dataaaworld.com/wp-content/uploads/2022/09/untitled-4-copy.jpg?w=1024)
feedforward
The above graph shows that Feedforward is a simple calculus and accordingly the output of a two-layer Neural Network is :
![](https://dataaaworld.com/wp-content/uploads/2022/09/d985d8b9d8a7d8afd984d8a9-feedforward.png?w=355)
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:
![](https://dataaaworld.com/wp-content/uploads/2022/09/2.jpg?w=1024)
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 .
؟ Neural Network ما هو مفهوم
![](https://dataaaworld.com/wp-content/uploads/2022/09/rabic-poster-copy.jpg?w=945)
يمكن تلخيص المفهوم العام لعمل هذه المنظومة بتشبيهها بمنظومة عمل الدماغ التي تعتمد بمضمونها على آلية رياضية مبنية على عدة مدخلات تحدد هيكلية النتائج المطلوبة
Neural Network وبناءً على ذلك يمكننا تحديد مكونات
x طبقة الإدخال *
طبقات مخفية غير منتظمة *
ŷ طبقة الإخراج *
b و w توازنات مختلفة بين بين الطبقات *
σ تحديد وظيفة التنشيط السينية للطبقات المخفية *
Neural Network في الغالب عند حساب عدد طبقات
يتم تجاهل طبقة الإدخال كما هو موضح في
Neural Network هذا الرسم البياني لبنية
: مؤلفة من طبقتين
![](https://dataaaworld.com/wp-content/uploads/2022/09/1_sx6t0y4aa3arh7ibs_sdqw-1.png?w=500)
Neural Network ويعتبر من السهل إنشاء
في لغة بايثون
![](https://dataaaworld.com/wp-content/uploads/2022/09/untitled-3-copy-1.jpg?w=1024)
: Neural Network تدريب
Neural Network لـ ŷ يتم استنتاج قيمة
: بسيطة من طبقتين بالمعادلة التالية
![](https://dataaaworld.com/wp-content/uploads/2022/09/d985d8b9d8a7d8afd984d8a9-training-2.png?w=355)
يتبين لنا من خلال المعادلة السابقة أن
b والتحيزات w قيم المتغيرات المتمثلة بالأوزان
بعد تحري الدقة في ضبط قيمها هي التي
التي تمثل قيمة المخرجات ŷ تحدد ناتج
Neural Network وهذا ما يُعرَف بتدريب
يمكننا تقسيم كل تكرار لعملية التدريب
: إلى المراحل التالية
ŷ مرحلة حساب قيمة المخرجات *
feedforward : والمحددة باسم
b و w مرحلة تحديث قيم *
backpropagation : والمحددة باسم
: وهذا ما يوضحه الرسم البياني المتسلسل
![](https://dataaaworld.com/wp-content/uploads/2022/09/untitled-4-copy-1.jpg?w=1024)
Feedforward
Feedforward يوضح الرسم البياني السابق أن
هو عملية حسابية بسيطة للتفاضل والتكامل
Neural Network وبناءً عليها يكون ناتج
: مكونة من طبقتين هو
![](https://dataaaworld.com/wp-content/uploads/2022/09/d985d8b9d8a7d8afd984d8a9-feedforward-1.png?w=355)
Feedforward وبإضافة المهمة الأساسية لـ
في كود بايثون في حالتنا السابقة مع افتراض
أن قيمة التحيزات معدومة أي أنها
: تساوي الصفر ينتج لدينا
![](https://dataaaworld.com/wp-content/uploads/2022/09/2-1.jpg?w=1024)
إلا أنه يتوجب علينا إيجاد طريقة
.. أكثر دقة لتنبؤاتنا
Loss Function هذه الطريقة توفرها لنا خاصية
التي ستنعرف عليها في المقال القادم
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
LikeLike