Analytics is a collection of techniques and tools used for creating value from data. Techniques include concepts such as artificial intelligence (AI), machine learning (ML), and deep learning (DL) algorithms.
AI, ML, and DL are defined as follows:
1. Artificial Intelligence: Algorithms and systems...
Thursday, January 30, 2020
Wednesday, January 29, 2020
SQLAlchemy
SQLAlchemy is a library used to interact with a wide variety of databases. It enables you to create data models and queries in a manner that feels like normal Python classes and statements. Created by Mike Bayer in 2005, SQLAlchemy is used by many companies and is considered by many to be the de facto...
Monday, January 27, 2020
Three-Dimensional Plots
While matplotlib is primarily a 2D plotting package, it does have basic 3D plotting capabilities. To create a 3D plot, we need to import Axes3D from mpl_toolkits.mplot3d and then set the keyword projection to '3d' in a subplot call as shown below:
import matplotlib.pyplot as pltfrom mpl_toolkits.mplot3d...
Streamline plots
matplotlib can also make streamline plots, which are sometimes called field line plots. The matplotlib function call to make such plots is streamplot, and its use is illustrated in the following program to plot the streamlines of the velocity field of a viscous liquid around a sphere falling through...
Sunday, January 26, 2020
Contour plots
The principal matplotlib routines for creating contour plots are contour and contourf. Sometimes you would like to make a contour plot of a function of two variables; other times you may wish to makea contour plot of some data you have. Of the two, making a contour plot of a function is simpler. The...
Saturday, January 25, 2020
Contour and Vector Field Plots
matplotlib has extensive tools for creating and annotating two dimensional contour plots and vector field plots. A contour plot is used to visualize two-dimensional scalar functions, such as the electric potential V (x;y) or elevations h(x;y) over some physical terrain. Vector field plots come in different...
Wednesday, January 22, 2020
Bokeh library
In the world of data visualization, there are three main libraries using Python that dominate the market, and these are as follows:
Matplotlib
Seaborn
Bokeh
The first two, Matplotlib and Seaborn, let you plot static plots—plots that do not change and plots that cannot be interacted with. These...
Tuesday, January 21, 2020
Vectors
Abstractly, vectors are objects that can be added together (to form new vectors) and that can be multiplied by scalars (i.e., numbers), also to form new vectors. Concretely (for us), vectors are points in some finite-dimensional space. Although you might not think of your data as vectors, they are...