Explain Machine Learning as to a kid

Automatic Summary

Understanding Machine Learning: The Basics

Hello, everyone! I'm Precious Kala, a machine learning engineer from Nigeria currently working at L SQUARE. I would like to share with you some insights about machine learning from my recent session at the Woman Tech Network Global Conference 2021.

Demystifying Machine Learning: A Simple Explanation

It's quite common to come across terms such as artificial intelligence (AI) and machine learning, but do we really know what they mean? At its core, machine learning is a form of artificial intelligence that enables computers to learn directly from data. It identifies patterns and uses the observed patterns to make predictions.

To make this concept clearer, I would like to share a simple analogy.

A Little Story About Machine Learning

Imagine a young child seeing a candle flame for the first time. In their curiosity, they touch the flame and feel the pain. This incident gets imprinted in the child's brain that anything red and bright equates to pain. Two days later, the same child encounters a stovetop displaying a red and bright color. The previous incident with the candle flame comes to their mind, and they avoid touching the stovetop. This learned behavior is a simple example of machine learning. The child has learned a pattern (red and bright means pain) and used this information to make a prediction or decision.

Contrarily, if the child avoided the stove because they were explicitly told by parents not to touch it, we can compare this to traditional programming, where a developer writes a specific set of instructions for the computer to follow.

How Does Machine Learning Work?

In machine learning, instead of the developer dictating specific commands, we provide the computer with both input and desired output data. The computer then creates a learning algorithm, known as a model.

To illustrate, consider an example where I want to create a program that can identify if an image contains a cat. With machine learning, I would provide the computer with various images - some with cats and some without. I would label the cat images as 'true' and the others as 'false'. The computer would then create a mapping or function based on this data which can categorize new images as either containing a cat (true) or not (false). Thus, machine learning simplifies large data sets into a single decision or prediction.

Getting Started with Machine Learning

If you're excited by the prospect of utilizing machine learning and want to get started, there are few things you need to consider:

  1. Learn Python: Python is the most commonly used programming language in machine learning.
  2. Data Analysis: After getting comfortable with Python, learning to analyze and visualize data is essential. This includes mastering tools like Power BI, matplotlib, and others.
  3. Data Science: Once proficient in data analysis, you'd typically move on to data science, where you analyze data to make predictions.
  4. Dive into Machine Learning: Now, you're ready to fully explore machine learning and dive deep into model building, hosting, and deployment.

Keep in mind that diving into machine learning doesn't mean you have to be an expert from the start. Just like our little friend from the story, learning is a process of observing, understanding, and applying patterns.

If you have any questions or want to connect, feel free to reach me on Twitter at [@Celia_Kaw](https://twitter.com/celia_kaw) and on LinkedIn at [Kawi Precious](https://www.linkedin.com/in/kawi-precious). You can also reach out to me via email at [email protected].

Thank you for taking the time to read about my insights into machine learning and I hope it has deepened your understanding of this exciting field of artificial intelligence.


Video Transcription

Right. I have everyone. Welcome to my session of The Woman Tech Network Global Conference 2021. I'm Precious Kala from Nigeria. I'm a machine learning engineer at L SQUARE, a financial company here in Nigeria as well.And my interest lies in the intersection of artificial intelligence and care though we have a very short time. So let's get it. Let's get into what we are here for. All right. So I started writing codes, learning Python, performing analysis, cleaning data and building machine learning models.

I've always asked myself if I was to, to explain machine learning to a complete layperson, would I be able to? So then I have to learn how to. So right now I'll be explaining machine learning in its simplicity. I'll be explaining machine learning like I'm explaining to a kid. All right, I know we have uh terms like artificial intelligence and machine learning being thrown about. But what exactly is artificial intelligence? What exactly is machine learning? Machine learning is a large source of artificial intelligence that allows computers to learn from data. It is a form of artificial intelligence that observes patterns, it learns from these patterns and this is what it learns to make predictions. But a few examples always make things more clearer.

So are we making use of this very simple analogy? Ok, let's say a young child is playing a tune and this young child is seeing a candle film for the first time and out of curiosity, this young child wo and six is an film. As expected, the young child will cry and yell for pain due to the hotness from the candle film and it will get registered in the chat brain. That that thing looking red and bright is painful. Ok, let's say two days after this same young child is playing in the kitchen. And this time he is seeing a stove top for the first time. Again, we all know babies are always curious and then he is curious again and you w us over this time, he thinks of sticking his hand over the stovetop. But this young child notices the red and bright color of the stovetop. Then he remembers the incident of the previous day with the kind of film. Then this young child ignored the stovetop to be clear. This is just machine learning because this young child launched pattern from the stove from the candle film to make predictions on the stovetop. He launched the pattern of red and bright miss pain from the stove from the candle film. Let's now say this young child, he ignored this to talk because his parents warned him against it. Then that will be explicit programming and not machine learning.

In traditional explicit programming, the developer writes a program or a set of instructions to the computer and then the computer or create an output by itself, it can even take in some data and then it creates an output by itself. But machine learning has flipped this process on its head where all you have to do is to provide the computer with input and output like images uh like data and their respective labels. And then the computer create a learning algorithm on its own called mod. Now that raises a question, what is the module we know as humans, we are always bombarded with series of decisions to make questions to answer and some are a bit easier like do you need to brush your teeth today or should you pay your rate? Yes. Those ones are a bit easier while some are a bit more difficult. Like um should you have asked that person you've had a crush on um what uh how do you plan your day to improve productivity? And then there are also some decisions almost impossible to make without the app of a code at data. And then we have questions like what stocks should you invest in right now? Would your borrower payback or default or e or alone? So we have machine learning shining in this to or of decision making and the ultimate goal of machine learning is to simplify large amount of data into a single decision or a prediction.

And then the model we are having here at the middle is like the representation of how the real world works on your data. It is your final product. OK. Let me make another example. Let me use another example here. Let's say I want to write a program that takes in images that takes in images returns true. If there is a cut in an image and returns F, if there is no cut in an image with machine learning, all I have to do is to provide the computer with images with images of cats and non cats and the computer and their respective labels, cut images, non cut images with their respective labels.

And then the computer creates a mapping on its own. Let's say I'm passing in 1000 cats images with 1000 non cut images making 2000 in total and then images containing cuts are labeled as true. While images contain while non cut images are labeled as force. In this sense, we have this equation Y equals FS where Y is the respective label of each of the images X is the image itself. YF this particular F is a function is a function. The machine learning model is going to create on its own automatically. And this entire process is learning the entire process on the screen is is training, sorry is training where the computer get to learn from the data. And after training, we can now introduce a new image to the computer, we can feed it a new image to the map function and then it returns an output, it returns its prediction of either true or false. So yeah, machine learning, machine learning is being used is very wild and is being used in in various areas in making predictions and in decision making. Yeah, that is everything about machine learning. I hope this talk must have given us a better understanding of what machine learning really is of the basic fundamental of machine learning. And finally, you can reach me on Twitter at Celia. I'm precious. Kaw.

You can reach me on Twitter at pre U also on linkedin at Kawi pressures and then I received news Kao pressures 99 at gmail.com. I'm looking forward to connect with everyone on this call. Thank you very much. OK. I would like to accommodate questions in case we are having questions. Yeah, I would like to accommodate questions from maybe newbies, those want to get started in machine learning or data science. Yeah. OK. I have a question here. How do you start machine learning? Yeah, machine learning.

As we all know as and I've said earlier is a lack of set of artificial intelligence, but you can't just dive into machine learning streets. There are some, there are some resources you have to take some programming languages, you have to learn and people always learn either hard or or Python. Yes, people either learn hard or Python, but the most commonly used one is Python. So before you can get started in machine learning, you have to learn Python. And after being, after being comfortable with Python, most people they have this series. Like after after learning, Python, they go into data analysis and data, data analysis, data visualization and data science.

Once you get into data science, data analysis, you get to learn all the all the visualization tools like Power B IC BT Malo Lib on how to like clean data and generate insight from data. All those tools are subsets of machine learning. And after being comfortable with data cleaning, there you go into data science. Data science is where you analyze data and you start building models to make predictions. And after data science, you can now dive fully into machine learning. If machine learning, you get to learn about model deployment, model, building hosting models, models deployment. And also you dive into deep learning as you go into that. OK. Does that answer your question? Hm. OK. Jessie. That was Jesse. And what programming language do you suggest for us to learn? First? I think I mentioned that. That is Python. Most people learn Python force in order to get started in machine learning, you learn Python force. I can't see a question yet. How to start with no code? Oh The the thing is if you want to, if you want to dive into machine learning, you have to like write codes. But there are some resources you can make use of in building machine learning models. I think these tools are available on Microsoft Azure where all you have to do, what you have to do is to passing your mo to their already in in on their already made platform, then you can start making prediction based on how the their platform has been configured.

I think that is Microsoft Azure. But most times for you to dive into machine learning, you know, you must know how to write codes, you must know how to write codes. Yeah. All right there we cut. Yeah. Any more questions before we end this session? It's almost time. It's already time. All right. Thank you very much. Thank you very much. Everybody. Nice. Getting to meet you. Huh? Bye.