We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1
NUMPY:
*Numpy sttands for numerical python.
*Numpy is a python library used for working with arrays. *It also has functions for working in domain of linear algebra,fourier transform,and matrices numpy was created in 2005 by travis oliphant.It is an open source project.
WHY WE USE NUMPY?
*In python we have lists that serve the purpose of arrays,but they are slow to process. *Numpy aims to provide an array object that is upto 50x faster than traditional python list. *The array object in python is called ndarray,it provides a lot of supporting functions that make working with the ndarrary very easy. *Arrays are very frequently used in data science,where speed and resources are very important. *Numpy ecxels in handling large datasets,making it incredibly valuable for tasks involving complex mathematical operations,data processing and machine learning model devolopment.
DATA SCIENCE: It is a branch of computer science where we study how to store,use
and analyze data for deriving information from it.
WHY IS NUMPY FASTER THAN LISTS?
*Numpy arrays are stored at one continous place in memory unlike lists,so processes can access and manipulate the very effectiveley. *This behaviour is called locality of reference in computer science. *This is the main reason why numpy is faster than lists.Also it is optimized to work with latest cpu architectures.
*Numpy is a python library and it is written partially in python,but most of the parts that require fast computation are written in C,C++ Example Problem- *To solve computer vision and MRI,etc.So far that machine learning model want to use images,but the machine learning model cant read image dirctly.So need to convert image into numeric form and the fit into numpy array.Which is best way to give data to machine laerning model.