Chapter 6 Python Libraries for Machine Learning
Chapter 6 Python Libraries for Machine Learning
Python
libraries for
Machine
Learning
CS158 - 1 Artificial Intelligence
School of Information Technology
Raymond B. Sedilla, MSIT
Python libraries for Machine Learning
Numpy
NumPy is a Python library used for working with arrays.
https://www.w3schools.com/python/python_intro.asp
Scipy
SciPy is a scientific computation library that uses NumPy underneath.
Like NumPy, SciPy is open source so we can use it freely. SciPy was created
by NumPy's creator Travis Olliphant.
https://www.w3schools.com/python/python_intro.asp
Original Image Tinted Image
Scikit Learn
Scikit-learn is one of the most popular ML libraries for classical ML
algorithms. It is built on two basic Python libraries, viz., NumPy and SciPy.
It can train and run deep neural networks that can be used to develop
several AI applications. TensorFlow is widely used in the field of deep
learning research and application.
Keras
Keras is a very popular Machine Learning library for Python. It is a high-level
neural networks API capable of running on top of TensorFlow, CNTK, or
Theano.
It can run seamlessly on both CPU and GPU. Keras makes it really for ML
beginners to build and design a Neural Network. One of the best things
about Keras is that it allows for easy and fast prototyping.
PyTorch
PyTorch is a popular open-source Machine Learning library for Python
based on Torch, an open-source Machine Learning library implemented in C
with a wrapper in Lua.
In this case, Pandas comes handy as it was developed specifically for data
extraction and preparation. It provides high-level data structures and a wide
variety of tools for data analysis. It provides many inbuilt methods for
groping, combining, and filtering data.
Matplotlib
Matplotlib is a very popular Python library for data visualization. Like
Pandas, it is not directly related to Machine Learning.