Beginner Intro to Neural Networks 1 - Data and Graphing

The Mystery Flower Problem: A Hands-On Learning Experience

In this video, we see a young woman struggling with a problem that seems simple enough at first glance. She is tasked with identifying the color of a mystery flower based on its length and width measurements. The challenge lies not in the measurements themselves, but rather in comparing them to those of other flowers she has measured earlier.

The woman decides to take a hands-on approach to solve the problem by graphing the measurements on a piece of paper. She begins by marking the first flower's measurement on her graph, taking care to be consistent and starting from the same corner for each subsequent flower. For example, when measuring the second flower, she takes three steps to the right for the length and one step up for the width.

As she works through the problem, the woman finds that graphing the measurements allows her to visualize the data in a way that makes comparison easier. She notices that all of the blue flowers have similar lengths and widths, making it relatively simple to identify which ones are likely to be red. However, when she encounters the mystery flower with its measurement of four and 1/2 steps to the right and one step up, she realizes that graphing is not enough to guarantee an accurate answer.

In this case, the woman takes a closer look at the diagram and recognizes that the question mark symbol suggests uncertainty. Since there are many red flowers in the data set, but no clear indication of which ones are more or less likely to be the mystery flower's color, she decides to take a guess. In her best judgment, based on the relative lengths and widths, she concludes that the mystery flower is probably red.

Fortunately, this woman has a friend who is a computer, equipped with a "brain" capable of processing data quickly and accurately. The computer can automate many tasks, including identifying flowers by their measurements. This neural network-based approach would allow the computer to rapidly process large datasets like those used in the mystery flower problem, making it possible for the woman to receive an estimate of the flower's color more efficiently.

In conclusion, this video showcases a young woman working through a hands-on learning experience with graphing and pattern recognition. While her method is effective for smaller datasets, the computer offers a significant advantage when dealing with larger quantities of data. In the next video, we will delve deeper into the neural network diagram presented in this article, exploring its components and how they work together to enable the computer's brain-like capabilities.

"WEBVTTKind: captionsLanguage: enhey everyone so I'm super excited to introduce you to neural networks uh they're this really cool idea from mathematics and computer science and they've kind of been taking the artificial intelligence World by storm lately uh if you notice your phone you can kind of ask it a question um or you upload a photo and your computer knows who's in it or even what's in it like if it's on the beach or something and you may be curious you know how is this possible do they have people looking at these photos um but I can tell you right now that I'm 100% sure all this stuff is being driven by neural networks um so in this series I'm going to cover everything you need to know about them with no background knowledge required so we're going to understand all the math behind them so ideas from linear algebra and calculus we're going to understand how to write our own using python um and I'm going to take it very slowly you know for someone who is completely new to any of these ideas uh so let's just get started thinking about what the neural networks allow computers to do today so first of all computers are better at seeing uh in 2015 a computer actually outperformed a human at recognizing stuff in pictures so if there was like a cat in a picture it could say uh there was a cat and I guess maybe a person failed probably not on that but definitely probably on identifying specific breeds of dogs which computers are actually pretty good at using neural networks so not only can they see better but they can actually hear us better too and again this is using neural networks um so if you ever you know ask your phone a question it's got to change those pressure waves uh in the air into meaningful symbols that it can actually process so using a neural network it can do that and with much greater accuracy than previous hand engineered methods and finally what better way to respond to your question than by speaking itself so computers are able to generate natural sounding speech um and they even know what intonation you know if the if the sentence ends in a question mark they can kind of huh you put that little question at the end uh and this is all done using neural networks again so they're really really amazing I mean as you can see they're extremely versatile these are just three examples they're generating art uh they basically can solve almost any problem that you can throw at them um and so in this series I just want to get you started uh we're going to start with a simple data set and we're going to talk about how you would solve a problem manually and then in the next video we'll actually start using a neural network to automate the solution of that problem and then in the video after that we'll talk about how you actually train this thing using back propagation and all these other ideas so stick around for that and let's get started with this first simple example problem so it all starts with a farmer she likes to measure everything around her uh and she was growing some flowers one day and realized she hadn't measured them so she decided that this day was the perfect day to take out her rulers and take some measurements why not so she has two types of flowers she has these red ones and these blue ones and she has many of them but we'll start with these two now she takes out her rulers and just lays them down you know one uh going left to right here and one bottom to top vertically here um and the rulers are a little sparse here on measurements but we can use these grid lines uh as a way to measure so these units so like this is one unit up two units up three units four units five units and we can take some steps to the right too we could take one step to the right two steps three steps four steps and so on so she starts with the red flower and she's going to pluck a pedal off and lay it down a certain way on her rulers so now she's going to start to measure so the way the way she measures is she starts at this corner always and she'll go horizontally first so she's going to take one step two steps three steps to the right and so this is her first measurement it's the length of the pedal and what she needs now is a table to put this in so she draws on some paper her table over here and this is where she's going to record all of her data so she's going to take her length measurement and bring that over here and just write it down now she's going to measure the width of the pedal so how wide it is here so she's going to take she's going to start again from the same corner but this time move vertically so she's going to take one step and this one's actually one and a half steps if you notice we're right a half here halfway between this grid line and this grid line so this is 1 and 1/2 steps wide you know you could think of this as inches or any any unit really uh and she's going to take this measurement and plop it right here next to width and finally since this was from a red flower she's going to just record the color and I just do that with this animation here taking red so red flower we have a red dot and The Petal was 3 units long long and 1 and 1/2 units wide so now she's going to do it with the next flower she'll take a petal pluck it off and lay it down here always always lengthwise horizontally and the width will be vertical so again she's going to start in the same corner and she's just taking these measurements she's going to take one step and two steps so this this petal is two steps long two units long and then she'll start in the same Corner again but this time take one step up to measure the width here so she sees a one and writes that down and of course she would never forget to write down the color as well so we'll just make sure we we realize that these measurements here were from a blue flower so she has many flowers actually and here are two more and we'll just repeat the process here so she takes one measures the length this one is four units long so she takes that and writes it down measures the width this one is one and a half units wide again so she writes that down here and of course the color never forgetting to write down the color and she does the same with the next flower this one just happens to be blue again uh this one is three units long one unit wide so she's writing all this down and of course the color at the end so now she has some measurements but of course she has many more flowers so we'll let her just build a data set so we'll let her record some more and here is her complete data set now a data set is just a collection of measurements or just a group of numbers really um so this is her data set it consists of the color of the flower she measured its length and its width uh of The Petal from that flower so here's her data set and uhoh what is going on here uh oh it looks like she forgot to measure the color or just note down the color of this last flower uhoh that's not good so now she's a little upset there's a bit of a mystery here uh and she cannot be happy unless her data set is complete so she has to think about this problem uh there's a few ways that she could solve this that immediately come to her mind she could compare these numbers to the other numbers and maybe um if they're similar she kind of assumes that like uh you know red flowers their measurements are all fairly similar because they're they're all coming from a certain type of flower and blue flowers their measurements are all fairly similar so she could do that by by uh just remembering these numbers in comparing them but there's a lot of numbers here and it's it's kind of a pain uh so she has a better idea what she's going to do is graph them so again she takes out her rulers and making sure to be consistent uh she'll take the first flower that she measured the just the color is important now um and she's going to start in the same corner you know this graph can be anywhere as long as you just start in the same Corner uh she's going to take the the length measurement here and take three steps to the right so she's basically going to plot these points uh and then we'll see what happens after she does that so she's going to take three steps to the right and then we'll look here it's one and a half steps so this is going to be 1 and 1 half steps up and then she'll leave a mark and we'll do the next thing for the next flower we'll take starting from the same Corner two steps to the right for the length and one step up for the width and she'll leave a mark and we'll just let her do the rest of that I mean she kind of enjoys graphing so she's very quick so we have all these other colors and she'll just put them in the right places here and now you get to see her reasoning we look at the mystery flower we're going to do the same thing even though we don't know its color we'll just bring this question mark down start in the same Corner we'll look at the first measurement four and A2 so we'll take four and 1/2 steps to the right and then we'll take one step up for the width and look at that the question mark kind of Lies among all these other red flowers and so she doesn't have to Compare the numbers by just remembering them and looking at them she can just see it immediately that you know she's going to take she has to guess she'll never be be uh certain but she's going to take a a good guess that this flower was actually a red flower and she seems pretty satisfied with that I mean you know it could be uh a really strange blue flower that that uh is longer than the rest which is possible but if she had to take a guess it'd probably be best to Guess that this was a red flower so she puts her little color there she's satisfied with that and she has her complete data set so that was very good you know she she solved her problem the mystery flower problem um but she had to kind of do it herself you know she had to uh actually graph all of these and then kind of make a call uh about if this flower was red or blue but she has a friend and her friend is a computer and the computer has a brain which could do the same task for her if she taught the computer how to do it and we call that brain a neural network so this is a little diagram of a neural network and this could let the computer automate that task that our farmer had to do and the computer can do it a lot faster than her let's say there were like 10,000 flowers instead of you know whatever it was 10 um the computer could just crunch through that data very quickly uh and give her an estimate much faster than she could do herself so she wants to you know talk with her friend too she likes a computer so she's going to train the computer's brain to basically predict uh the flower and in the next video we'll actually cover what this diagram is you know it has these nodes and connections so we'll actually go over what each element is and in the video after the next one we'll cover how she actually trains this neural network to automate the task that she had to do manually so thanks for making it through this video with me I realized there really wasn't much of anything about neural networks in this one except for this diagram which I haven't even covered yet uh so you'll have to just trust trust me that in the next videos uh I'm going to break this diagram down you're going to understand what these little symbols mean um and in the next video we'll also cover stuff like inference uh and we'll be introduced to some ideas from linear algebra so vectors and matrices you know we'll start to take some small steps towards understanding uh everything involved in a simple nural Network like this so stick around for that next video you know hit that like button or dislike button Buton however you really honestly feel um I love any feedback you know I'm just starting out with these uh so any feedback is really really valuable for me and I hope this made sense and yeah I'll see you in the next video thanks for watchinghey everyone so I'm super excited to introduce you to neural networks uh they're this really cool idea from mathematics and computer science and they've kind of been taking the artificial intelligence World by storm lately uh if you notice your phone you can kind of ask it a question um or you upload a photo and your computer knows who's in it or even what's in it like if it's on the beach or something and you may be curious you know how is this possible do they have people looking at these photos um but I can tell you right now that I'm 100% sure all this stuff is being driven by neural networks um so in this series I'm going to cover everything you need to know about them with no background knowledge required so we're going to understand all the math behind them so ideas from linear algebra and calculus we're going to understand how to write our own using python um and I'm going to take it very slowly you know for someone who is completely new to any of these ideas uh so let's just get started thinking about what the neural networks allow computers to do today so first of all computers are better at seeing uh in 2015 a computer actually outperformed a human at recognizing stuff in pictures so if there was like a cat in a picture it could say uh there was a cat and I guess maybe a person failed probably not on that but definitely probably on identifying specific breeds of dogs which computers are actually pretty good at using neural networks so not only can they see better but they can actually hear us better too and again this is using neural networks um so if you ever you know ask your phone a question it's got to change those pressure waves uh in the air into meaningful symbols that it can actually process so using a neural network it can do that and with much greater accuracy than previous hand engineered methods and finally what better way to respond to your question than by speaking itself so computers are able to generate natural sounding speech um and they even know what intonation you know if the if the sentence ends in a question mark they can kind of huh you put that little question at the end uh and this is all done using neural networks again so they're really really amazing I mean as you can see they're extremely versatile these are just three examples they're generating art uh they basically can solve almost any problem that you can throw at them um and so in this series I just want to get you started uh we're going to start with a simple data set and we're going to talk about how you would solve a problem manually and then in the next video we'll actually start using a neural network to automate the solution of that problem and then in the video after that we'll talk about how you actually train this thing using back propagation and all these other ideas so stick around for that and let's get started with this first simple example problem so it all starts with a farmer she likes to measure everything around her uh and she was growing some flowers one day and realized she hadn't measured them so she decided that this day was the perfect day to take out her rulers and take some measurements why not so she has two types of flowers she has these red ones and these blue ones and she has many of them but we'll start with these two now she takes out her rulers and just lays them down you know one uh going left to right here and one bottom to top vertically here um and the rulers are a little sparse here on measurements but we can use these grid lines uh as a way to measure so these units so like this is one unit up two units up three units four units five units and we can take some steps to the right too we could take one step to the right two steps three steps four steps and so on so she starts with the red flower and she's going to pluck a pedal off and lay it down a certain way on her rulers so now she's going to start to measure so the way the way she measures is she starts at this corner always and she'll go horizontally first so she's going to take one step two steps three steps to the right and so this is her first measurement it's the length of the pedal and what she needs now is a table to put this in so she draws on some paper her table over here and this is where she's going to record all of her data so she's going to take her length measurement and bring that over here and just write it down now she's going to measure the width of the pedal so how wide it is here so she's going to take she's going to start again from the same corner but this time move vertically so she's going to take one step and this one's actually one and a half steps if you notice we're right a half here halfway between this grid line and this grid line so this is 1 and 1/2 steps wide you know you could think of this as inches or any any unit really uh and she's going to take this measurement and plop it right here next to width and finally since this was from a red flower she's going to just record the color and I just do that with this animation here taking red so red flower we have a red dot and The Petal was 3 units long long and 1 and 1/2 units wide so now she's going to do it with the next flower she'll take a petal pluck it off and lay it down here always always lengthwise horizontally and the width will be vertical so again she's going to start in the same corner and she's just taking these measurements she's going to take one step and two steps so this this petal is two steps long two units long and then she'll start in the same Corner again but this time take one step up to measure the width here so she sees a one and writes that down and of course she would never forget to write down the color as well so we'll just make sure we we realize that these measurements here were from a blue flower so she has many flowers actually and here are two more and we'll just repeat the process here so she takes one measures the length this one is four units long so she takes that and writes it down measures the width this one is one and a half units wide again so she writes that down here and of course the color never forgetting to write down the color and she does the same with the next flower this one just happens to be blue again uh this one is three units long one unit wide so she's writing all this down and of course the color at the end so now she has some measurements but of course she has many more flowers so we'll let her just build a data set so we'll let her record some more and here is her complete data set now a data set is just a collection of measurements or just a group of numbers really um so this is her data set it consists of the color of the flower she measured its length and its width uh of The Petal from that flower so here's her data set and uhoh what is going on here uh oh it looks like she forgot to measure the color or just note down the color of this last flower uhoh that's not good so now she's a little upset there's a bit of a mystery here uh and she cannot be happy unless her data set is complete so she has to think about this problem uh there's a few ways that she could solve this that immediately come to her mind she could compare these numbers to the other numbers and maybe um if they're similar she kind of assumes that like uh you know red flowers their measurements are all fairly similar because they're they're all coming from a certain type of flower and blue flowers their measurements are all fairly similar so she could do that by by uh just remembering these numbers in comparing them but there's a lot of numbers here and it's it's kind of a pain uh so she has a better idea what she's going to do is graph them so again she takes out her rulers and making sure to be consistent uh she'll take the first flower that she measured the just the color is important now um and she's going to start in the same corner you know this graph can be anywhere as long as you just start in the same Corner uh she's going to take the the length measurement here and take three steps to the right so she's basically going to plot these points uh and then we'll see what happens after she does that so she's going to take three steps to the right and then we'll look here it's one and a half steps so this is going to be 1 and 1 half steps up and then she'll leave a mark and we'll do the next thing for the next flower we'll take starting from the same Corner two steps to the right for the length and one step up for the width and she'll leave a mark and we'll just let her do the rest of that I mean she kind of enjoys graphing so she's very quick so we have all these other colors and she'll just put them in the right places here and now you get to see her reasoning we look at the mystery flower we're going to do the same thing even though we don't know its color we'll just bring this question mark down start in the same Corner we'll look at the first measurement four and A2 so we'll take four and 1/2 steps to the right and then we'll take one step up for the width and look at that the question mark kind of Lies among all these other red flowers and so she doesn't have to Compare the numbers by just remembering them and looking at them she can just see it immediately that you know she's going to take she has to guess she'll never be be uh certain but she's going to take a a good guess that this flower was actually a red flower and she seems pretty satisfied with that I mean you know it could be uh a really strange blue flower that that uh is longer than the rest which is possible but if she had to take a guess it'd probably be best to Guess that this was a red flower so she puts her little color there she's satisfied with that and she has her complete data set so that was very good you know she she solved her problem the mystery flower problem um but she had to kind of do it herself you know she had to uh actually graph all of these and then kind of make a call uh about if this flower was red or blue but she has a friend and her friend is a computer and the computer has a brain which could do the same task for her if she taught the computer how to do it and we call that brain a neural network so this is a little diagram of a neural network and this could let the computer automate that task that our farmer had to do and the computer can do it a lot faster than her let's say there were like 10,000 flowers instead of you know whatever it was 10 um the computer could just crunch through that data very quickly uh and give her an estimate much faster than she could do herself so she wants to you know talk with her friend too she likes a computer so she's going to train the computer's brain to basically predict uh the flower and in the next video we'll actually cover what this diagram is you know it has these nodes and connections so we'll actually go over what each element is and in the video after the next one we'll cover how she actually trains this neural network to automate the task that she had to do manually so thanks for making it through this video with me I realized there really wasn't much of anything about neural networks in this one except for this diagram which I haven't even covered yet uh so you'll have to just trust trust me that in the next videos uh I'm going to break this diagram down you're going to understand what these little symbols mean um and in the next video we'll also cover stuff like inference uh and we'll be introduced to some ideas from linear algebra so vectors and matrices you know we'll start to take some small steps towards understanding uh everything involved in a simple nural Network like this so stick around for that next video you know hit that like button or dislike button Buton however you really honestly feel um I love any feedback you know I'm just starting out with these uh so any feedback is really really valuable for me and I hope this made sense and yeah I'll see you in the next video thanks for watching\n"