00:14Welcome back, and peace be upon you. Now we're going to begin our seventh course, which is machine learning, and start with the first topic.
00:22Which is Nim Bye.
00:23What is NumPy? NumPy stands for Numerical Python, and it's an important package in Python for performing scientific calculations.
00:34High-performance packages are used by us to perform multi-dimensional array calculations.
00:41Okay, so why do we use Num Pie? We use Num Pie because it's fast. Now, we know that the list
00:51We have one in Python that serves the same purpose, but the problem with the list is that it's slow.
00:56And it's faster. It also allows us to work with in-early or multiple dimensions.
01:04There are also many PLM functions that we can use to perform calculations for individual or multiple dimensions.
01:15Okay, so in this course we'll talk about Numbeo, learn what Numbeo is, and learn how to use it.
01:22We're not going to talk about everything in Nim Bye.
01:25Now, for example, if you have a function that we haven't discussed, or a topic that we haven't covered in the model
01:31Bye, you can go wherever you want. You can go to Namby.org.
01:34And there you can search for any topic or function you want to know about in this documentation.
01:44There will also be a detailed explanation and they will provide you with an example of this function.
01:51The documentation for the Name Pie explains it in a detailed and understandable way.
02:00Okay. Now, in order to be able to use the Num Pie, since it's a Num Pie pack, we need to install it, so we go to our terminal.
02:08We open the folder. The folder for our project.
02:11We do activation for the VNV and we do PEP install nm by.
02:16Also, if we want, we can use Jupiter Terminal, it serves the same purpose.
02:22Hello, if you want to work in NumPay on the Jupiter Notebook to activate VNV or your account on the notebook.
02:34I made a video. This video shows you the steps you can take to activate VNV on your laptop.
02:47You can go and watch this video and see how you can do this VNV.
02:52And I will put the link to this video in the link to this video that we are currently talking about, the one about Nim Bye.
03:02So, you can see it below this video. Okay, now that we've installed the Num Bye Goat,
03:10What do we need to do? We need to import this array. Like I did here. I said import nom by is mb.
03:20Hello, now what is this? The Alice of the NumPie that is known in the Python community.
03:29Okay, so to import this num bye, I need to run this cell. I run it. Now that's how I got the num.
03:37By import, this is my folder.
03:39Okay, so now we need to see how to do what? Yes, single-dimensional arrays. And first, we need to learn how to create horizontal arrays.
03:50vector.
03:51Here I defined a variable. This variable is equal to np.array. I used the array function, opened round brackets, and placed it as you can see.
04:01Here's a list with three numbers.
04:03Then I used this variable name and put it last, and ran this cell. Now what did I get? This is what I got.
04:12The output is that it told me to put an array and put this list inside it.
04:16So, I know that this is a NumPy array, but it's preferable that we don't do it this way because this method
04:25But when you use it, you can get the output of the last variable you entered.
04:32This means that if you put another variable before it and run it, it will only run that variable. That's why we...
04:40What do we use the print function for? Here, I put the print function and placed my variable inside it. Then here, I also put a print statement.
04:49Second and used
04:50I need to find the type of this array, and here's a third print statement to get the chip. Let's run it and see what happens.
04:59I ran the command, and as you can see, the first thing that came up was the array as an array. Notice that this is an array. Why?
05:06Because I don't have commas between the numbers. So this is how I used them.
05:10The print statement is the output I get if I only used the variable name; this is the output I get. And the second thing is that
05:19The type it follows is numpy
05:20The dot and array, that's its good part. And the last thing is the gray, because this is a horizontal vector, so I only have it.
05:31dimension, which is three, because I am this.
05:34The horizontal vector has three items. So, this is how I get the shape of the horizontal vector. Okay, let me show you something else, that we
05:44We can also find out
05:45The array is using the child, just like I did here. I used the array function and instead of putting a list, I put a child and put
05:54I ran all the other things and did this process. It gave me the same output, if you can see, it's the same output I got.
06:02she
06:02I entered array array and its corresponding NumPy nd array, and it gave me the same result for the horizontal vector. Okay, now if I want to know the vertical
06:11What does vector do? I use array functions.
06:14First, I put my main list (square brackets), then I put the listed list. Each list inside the main list contains one item.
06:24Which is a number, as you can see, this is a phrase
06:26About the list, and this is a list, and this is a list, and all of them are inside the main list. So that's how I know what
06:33Vertical vector. If I run it, you see what I got when I told it to print column, print one underscore column.
06:42Vertical vector. So what's the difference here? That's what I got here.
06:46Three rows, one column. So that's how I get the vertical vector. I mean, I have three here.
06:56Three rows, one column. Also, what else can I use with it?
07:06The name is by Ari, as far as I can tell. Like I did here, I took this water Ari Underscore
07:15What child is this? What do I need to know about her? If I run it, what will appear?
07:23Three, and I want to take, of course, I'm here, this is the horizontal vector. If you come, I'll do it.
07:30The soft one, no, what? The horizontal vector, what does it give me? Three? So it is
07:36Three more followed here because I have one column with three rows, and here I have
07:42Three items. So, I'm getting the link for the AAA I ari I want.
07:48Using the Lean Function. Okay, we'll stop here now, and hopefully in the video...
07:54Next, we'll continue with the Ariz; we'll learn how we can do it.
08:00We'll also learn about Multiple Dimensions Array. Thank you, see you in
08:06Next video.