
Explore NumPy, the numerical Python library, and learn to create, manipulate, and operate on arrays. Apply mathematical and logical operations, broadcasting, and trigonometric functions for data analysis and machine learning.
Explore NumPy basics by creating 1D and 2D arrays, including vectors and matrices. Learn array properties, indexing, mutability, and shape and size using examples.
Learn to create a 3d array in python using lists of lists of lists, print the array, check its type, and determine its total elements with a size function.
Explore numpy built-ins such as full, zeros, ones, empty, eye, and random to create matrices of specified shapes and values, convert data types, and generate diagonal or random arrays.
Learn numpy basics by using arange, linspace, reshape, ravel, flatten, and transpose to transform 1d arrays into 2d or 3d, control spacing, and explore shape compatibility in machine learning.
Learn how to slice numpy arrays by rows and columns, reshape ranges into 2D matrices, and access single elements, entire rows, or columns using zero-based indexing.
Learn NumPy matrix operations in Python, including adding, subtracting, dividing, and multiplying matrices, reshaping with range and indexing, computing max, min, mean, and median, standard deviation, exponent, sqrt, and log.
Explore how to use numpy concatenate to join lists and 2d arrays, with axis-based row or column stacking and shape requirements. Learn horizontal stacking with restack when combining multiple arrays.
Explore trigonometric functions using numpy and matplotlib to compute and visualize sine and cosine values, plot x-y relationships, and understand plotting basics.
Explore random sampling with NumPy: generate arrays of random floats and integers, shape results, reproduce outputs with seed, and use choice and permutation for selections.
Explore string operations in Python, including concatenation, spacing, joining, splitting, and center formatting. Learn to replace text, compare strings, count occurrences, find indices, and check lower or upper cases.
Learn how numpy broadcasting lets you add arrays of different shapes, using ones matrices, transposes, and scalar arrays to apply broadcasting rules.
Explore numpy broadcasting by adding a 3 by 4 matrix to a 1 by 4 row using axis rules and scalar broadcasting, with transpose used to align axes.
Celebrate completing the course and you accomplishing great things as you look forward to the next course. See you in the next course, and thank you.
Welcome to Learn NumPy for Machine Learning course. My name is Saima Aziz and I will be the instructor for this course.
In this course we will learn how to create Numpy arrays, learn some built-in functions, access values, broadcasting and manipulating arrays etc.
Python is a general purpose and high level programming language. You can use Python for developing desktop GUI applications, websites and web applications. We will learn Numpy from scratch, which is one of the most popular Python programming language library.
Numpy stands for ‘Numerical Python’. It is an open-source Python library used to perform various mathematical and scientific tasks. It contains multi-dimensional arrays and matrices, along with many high-level mathematical functions that operate on these arrays and matrices. Moreover, NumPy forms the foundation of Machine Learning.
NumPy helps to calculate large quantities and common descriptive statistics. It is very useful for handling linear algebra, fourier transforms, and random numbers. It's high speed coupled with easy to use functions make it a favorite among Data Science and Machine Learning practitioners. Many of its functions are very useful for performing any mathematical or scientific calculation.
I encourage you to take the course from beginning to end to get the full learning experience. Some topics may be very easy for you and others will be challenging, but each topic should offer something of value.
Hope you will enjoy the course!