Train Basic Neural Network with Numpy and Pandas - AI programming for beginners
Python Simplified
@pythonsimplifiedAbout
Hi everyone! My name is Mariya and I'm a software developer from Sofia, Bulgaria. I film programming tutorials about Computer Science Concepts, GUI Applications, Machine Learning and Artificial Intelligence, Automation and Web Scraping, Data Science and even Math! π€ I'm here to help you with your programming journey (in particular - your Python programming journey π) and show you how many beautiful and powerful things we can do with code! πͺπͺπͺ
Video Description
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
Elevate Your Home Instantly
AI-recommended products based on this video

FineCheer FineCheer 30 Pcs Graduation Party Decoration Graduation Cap Photo Banner Grad Cap Garland Photo Display Decor Black Gold Class of 2026 Wooden Clip String Kits for Congrats Grad Hanging Picture Decor

VASAGLE EKHO Collection - Bench for Entryway Bedroom, Synthetic Leather with Stitching, Ottoman Bench with Steel Legs, Living Dining Room, Mid-Century Modern, Loads 660 lb, Forest Green ULOM076C01

VASAGLE EKHO Collection - Storage Ottoman Bench, Entryway Bedroom Bench, 25 Gallons, Synthetic Leather with Stitching, Mid-Century Modern, Safety Hinges, Loads 660 lb, Forest Green ULOM075C01

VASAGLE EKHO Collection - Storage Ottoman Bench, Entryway Bedroom Bench, 15 Gallons, Synthetic Leather with Stitching, Mid-Century Modern, Safety Hinges, Loads 660 lb, Caramel Brown ULOM074K01

VASAGLE EKHO Collection - Shoe Bench, Storage Bench, Shoe Rack Bench Entryway, Synthetic Leather with Stitching, Mid-Century Modern, Loads 135 kg, 30 x 80 x 50 cm, Ink Black ULSB054B01

LEGO Botanicals Tiny Plants - Artificial, Fake Indoor Plant Building Set for Home, Kitchen, Desk Decoration, Adults Ages 18+ - Gift for Graduation - 10329

SmartSweets Minis Sweet Fish, Gluten Free, Plant Based Gummies, Healthy Snacks for Adults & Kids, Fun Chewy Candy, Low Calorie, Low Sugar Snack, No Artificial Sweeteners, Non GMO, 22g Bags, 8 Pack

LEGO Botanicals Mini Orchid Building Set - Artificial, Fake Orchid for Home Decor, Adults Ages 18+ - Gift for Graduation- Indoor Plant Decorations for Table, Desk, Office - 10343

LEGO Cherry Blossom Building Toy for Kids, Girls & Boys, Ages 8+ - Artificial Cherry Blossom Decor for Home & Display - Creative Gift Idea for Plant & Flower Lovers - 40725

Weighted Sleep Mask Blackout Eye Cover, Blocking Sleep Eye Mask, Double-Sided Use, Adjustable Straps, Weighted Eye Mask for Deep Sleep, Relaxation, Napping (Gray, Both Side Velvet)




















