Home ยป Science & Technology ยป Train Basic Neural Network with Numpy and Pandas - AI programming for beginners

Train Basic Neural Network with Numpy and Pandas - AI programming for beginners

Written By Python Simplified on Friday, Aug 20, 2021 | 11:00 AM

 
Today we will create and train a basic artificial neural network using Numpy and Pandas ONLY! ๐Ÿค– We will practice the code (and the math ๐Ÿ˜…) behind all the ML concepts we have learned on this channel, so we can fully understand what we're doing! We will break down the training algorithm into Python functions and work with random data, which we will generate within seconds! For this code along, please make sure you watched the ๐Ÿ›‘previous tutorials๐Ÿ›‘: ML Episode 1 - Perceptron ๐Ÿค–: https://youtu.be/-KLnurhX-Pg ML Episode 2 - Cross Entropy Loss ๐Ÿค–: https://youtu.be/EJRFP3WmS6Q ML Episode 3 - Gradient Descent ๐Ÿค–: https://youtu.be/jwStsp8JUPU ********************************** ๐Ÿ›‘๐Ÿ›‘ UPDATED LINK TO COMPLETE CODE, Feb 2023 ๐Ÿ›‘๐Ÿ›‘ https://github.com/MariyaSha/TrainBasicNN ๐Ÿ‘พ Clone the complete code from Wayscript: ๐Ÿ‘พ https://wayscript.com/script/2OiJ6e7- ********************************** ๐Ÿ“ˆ๐Ÿ“Š Plotting Graphs Tutorials: ๐Ÿ“Š๐Ÿ“ˆ With Wayscript: https://youtu.be/2g-hdk2wwvU With Google Colab: https://youtu.be/P4F3PzCMrtk ********************************** โญ SKIP TO TIMESTAMP โญ 00:00 - Intro 00:41 - Import Numpy and Pandas 00:58 - Generate Random Data with Numpy 04:06 - Random Choices with Numpy 05:03 - Create a Pandas Data Frame 06:36 - Create functions.py File 07:59 - Weighted Sum Function 09:55 - Select DataFrame Row 10:48 - Remove DataFrame Column 11:52 - Sigmoid Activation Function 12:54 - Cross Entropy / Log Loss Function 14:08 - Gradient Descent: Update Weights 15:46 - Gradient Descent: Update Bias 18:04 - Training Function for Basic Artificial Neural Network 21:45 - Plot Training Data 22:22 - Analyze Training Data