Data Visualizations in Python
Data Visualizations in Python
How to Create a Pareto Chart in Python (Step-by-Step)
A Pareto chart is a type of chart that displays the ordered frequencies of categories along with the cumulative frequencies of categories.
This tutorial provides...
Data Visualizations in Python
How to Create a Scree Plot in Python (Step-by-Step)
Principal components analysis (PCA) is an unsupervised machine learning technique that finds principal components (linear combinations of the predictor variables) that explain a large...
Data Visualizations in Python
How to Create a Precision-Recall Curve in Python
When using classification models in machine learning, two metrics we often use to assess the quality of the model are precision and recall.
Precision: Correct...
Data Visualizations in Python
How to Calculate & Plot a CDF in Python
You can use the following basic syntax to calculate the cumulative distribution function (CDF) in Python:
#sort data
x = np.sort(data)
#calculate CDF values
y = 1. *...
Data Visualizations in Python
How to Create a Log-Log Plot in Python
A log-log plot is a plot that uses logarithmic scales on both the x-axis and the y-axis.
This type of plot is useful for visualizing...
Data Visualizations in Python
Curve Fitting in Python (With Examples)
Often you may want to fit a curve to some dataset in Python.
The following step-by-step example explains how to fit curves to data in...
Data Visualizations in Python
How to Plot a ROC Curve in Python (Step-by-Step)
Logistic Regression is a statistical method that we use to fit a regression model when the response variable is binary. To assess how well a logistic...
Subscribe
- Never miss a story with notifications
- Gain full access to our premium content
- Browse free from up to 5 devices at once
Must read