The Architecture of the Transformer Model with PyTorch
423 – The Architecture of the Transformer Model with PyTorch Welcome to a journey into the heart of one of… Read More »The Architecture of the Transformer Model with PyTorch
423 – The Architecture of the Transformer Model with PyTorch Welcome to a journey into the heart of one of… Read More »The Architecture of the Transformer Model with PyTorch
422 – Transfer Learning in Image Classification with PyTorch In this project, we’ll use transfer learning to train a model… Read More »Transfer Learning in Image Classification with PyTorch
Image_Classification_Computer_Vision_with_Convolutional_Neural_Networks_and_PyTorch In this project, we’ll have a look at a typical workflow for an image classification problem with a convolutional… Read More »Image Classification – Computer Vision with Convolutional Neural Networks and PyTorch
Wine_Quality_Multiclass_Classification_with_PyTorch In this notebook we’ll use PyTorch to build a multiclass classification model to predict wine quality based on a… Read More »Wine Quality Multiclass Classification with PyTorch
Nonlinear_Multiclass_Classification_with_PyTorch_A_Typical_Workflow In this article, we’ll have a look at a typical workflow for a simple nonlinear multiclass classification problem. We’ll… Read More »Nonlinear Multiclass Classification with PyTorch – A Typical Workflow
Gender_Classification_Binary_Classification_with_PyTorch In this notebook we’ll use PyTorch to build a binary classification model to predict gender based on a couple… Read More »Gender Classification – Binary Classification with PyTorch
Nonlinear_Binary_Classification_with_PyTorch_A_Typical_Workflow In this article, we’ll have a look at a typical workflow for a simple nonlinear binary classification problem. We’ll… Read More »Nonlinear Binary Classification with PyTorch – A Typical Workflow
Brain_Weight_by_Head_Size_in_Humans_Linear_Regression_with_PyTorch In this notebook we’ll use PyTorch to build a linear regression model to predict brain weight based on head… Read More »Brain Weight by Head Size in Humans – Linear Regression with PyTorch
Linear_Regression_with_PyTorch_A_Typical_Workflow PyTorch is a very popular machine learning library used to solved all kinds of problems, including regression and classification.… Read More »Linear Regression with PyTorch – A Typical Workflow
Agricultural Yield Prediction Agricultural Yield Prediction¶ The purpose of this analysis is the creation and comparison of several machine learning… Read More »Machine Learning – Agricultural Yield Prediction – Multiple Regression Models
Wireframes and Surface Plots Today we’ll be talking about wireframe and surface plots. We’ll be using our example from the… Read More »matplotlib Part 29 – Wireframes and Surface Plots
3D Contour Plots Today we’ll be plotting contours in 3D. To this end we need the contour method. This method… Read More »matplotlib Part 28 – 3D Contour Plots
3D Points and Lines Now that you know what 3D projection is, it’s time to actually plot something. Let’s start… Read More »matplotlib Part 27 – 3D Points and Lines
Axes3D and 3D Projection 2D plots are great and in most cases they’re all you need. But if you need… Read More »matplotlib Part 26 – Axes3D and 3D Projection
The Colorbar for Scatter Plots Some time ago we were talking about scatter plots. In the previous article we were… Read More »matplotlib Part 25 – The Colorbar for Scatter Plots
Colorbars In the preceding articles we were talking about colormap plots and contour plots. We know that the colors represent… Read More »matplotlib Part 24 – Colorbars
Contour Plots In the previous article we were talking about color maps. Today we’ll be talking about contour maps, which… Read More »matplotlib Part 23 – Contour Plots
Colormap Plots In this article we’ll be talking about colormap plots. These are used to represent three-dimensional data in 2D.… Read More »matplotlib Part 22 – Colormap Plots
Errorbars In this article we’ll be talking about errorbars. We use them to add information about possible errors or uncertainties.… Read More »matplotlib Part 21 – Errorbars
2D Histograms In the previous article we were talking about histograms. Today we’ll be talking about two-dimensional histograms, which we… Read More »matplotlib Part 20 – 2D Histograms
Histograms In this article we’ll have a look at histograms, binnings and density plots. Let’s create a simple histogram using… Read More »matplotlib Part 19 – Histograms
Scatter Plots with the scatter Method In the previous article we were using the plot method to create scatter plots.… Read More »matplotlib Part 18 – Scatter Plots with the scatter Method
Scatter Plots with the plot Method So far we’ve been only using line plots. But there’s a great variety of… Read More »matplotlib Part 17 – Scatter Plots with the plot Method
The Subplot2grid Layout Manager Most of the time we’ve been creating figures and axes using the plt.subplots method. Today let’s… Read More »matplotlib Part 16 – The Subplot2grid Layout Manager
DATASET CONCATENATION We can concatenate Series and DataFrame objects using the pd.concat method. Here’s a simple example of concatenation. Let’s… Read More »pandas Part 24 – Dataset Concatenation
DATA AGGREGATION ON MULTIINDICES We can aggregate hierarchically indexed data using common aggragation methods like mean, sum, min or max.… Read More »pandas Part 23 – Data Aggragation on MultiIndices
Insets You can create axes that sit inside other axes. You can come across examples of axes that display magnified… Read More »matplotlib Part 15 – Insets
Twin Axes Sometimes you may want to display two independent axes at the same time, like for example when you… Read More »matplotlib Part 14 – Twin Axes
SETTING AND RESETTING INDICES In the previous part of the Pandas series we were talking about sorting indices. Today we’ll… Read More »pandas Part 22 – Setting and Resetting Indices
In the previous parts of the series we created a bar chart, a line chart and a pie chart. There… Read More »openpyxl Part 21 – 3D Charts
SORTING MULTIINDICES Sorting multi-indices is important because many slicing operations only work on sorted data. Let’s create a multi-indexed Series… Read More »pandas Part 21 – Sorting MultiIndices
Sometimes you may want to share axis scale across multiple axes. Let’s have a look at the following example: In [3]:… Read More »matplotlib Part 13 – Sharing Axis Scale
In the previous part we created a line chart. In this part we’ll create pie charts. We’ll be using the… Read More »openpyxl Part 20 – Pie Charts
Grids In the previous part of the Matplotlib series we were talking about axis ticks. Today’s topic is closely related… Read More »matplotlib Part 12 – Grids
INDEXING AND SLICING MULTIPLY INDEXED DATAFRAMES In the previous part of the Pandas series we were talking about indexing and… Read More »pandas Part 20 – Indexing and Slicing Multiply Indexed DataFrames
In the previous part of the Matplotlib series we were talking about text annotations. In this part we’ll be talking… Read More »matplotlib Part 11 – Axis Ticks
Let’s talk about line charts. In the previous part of the openpyxl series we created a new workbook with some… Read More »openpyxl Part 19 – Line Charts
In the previous part of the Matplotlib series we were talking about the legend. Today we’ll learn how to add… Read More »matplotlib Part 10 – Text Annotations
INDEXING AND SLICING MULTIPLY INDEXED SERIES Indexing and slicing multiply indexed Series is intuitive. Let’s use one of the examples… Read More »pandas Part 19 – Indexing and Slicing Multiply Indexed Series
In the previous part we added an image to the workbook. In this part we’ll see how to add a… Read More »openpyxl Part 18 – Bar Charts
In the previous part of the Matplotlib series we were talking about the title and axis labels. Today let’s see… Read More »matplotlib Part 9 – The Legend
MULTI-INDEXED DATAFRAME COLUMNS Up to now we’ve been using multi-level indexing for rows, but it also works with columns. In… Read More »pandas Part 18 – Multi-Indexed DataFrame Columns
In the previous part of the Matplotlib series we were talking about axis ranges. In this part we’ll see how… Read More »matplotlib Part 8 – Axis Labels and Title
In the previous couple parts of the openpyxl series we were talking about styling spreadsheets, in particular about conditional styling.… Read More »openpyxl Part 17 – Adding Images
In this part of the Matplotlib series we’ll be talking about axis ranges. Let’s start by plotting a function: In [1]:… Read More »matplotlib Part 7 – Axis Range
NAMED MULTIINDEX LEVELS Sometimes it’s useful to name the levels of an MultiIndex object. Let’s have a look at the… Read More »pandas Part 17 – Named MultiIndex Levels
In the previous part of the openpyxl series we were talking about the IconSet built-in format, which we used to… Read More »openpyxl Part 16 – Styling with DataBar
In the previous part of the Matplotlib series we were adding Axes to the figure. Today let’s concentrate on a… Read More »matplotlib Part 6 – Line Properties
EXPLICIT CREATION OF MULTI-INDEXED OBJECTS In the previous part of the Pandas series we were creating multi-indexed objects implicitly, so… Read More »pandas Part 16 – Explicit Creation of Multi-Indexed Objects
In the previous part of the openpyxl series we were talking about the ColorScale built-in format, which we used to… Read More »openpyxl Part 15 – Styling with IconSet
In this part of the Matplotlib series we’ll see how to add Axes instances to a figure. To add an… Read More »matplotlib Part 5 – Adding Axes to the Figure
In the previous part of the openpyxl series we were talking about conditional formatting. We were working on the wb2.xlsx… Read More »openpyxl Part 14 – Styling with ColorScale
IMPLICIT CREATION OF MULTI-INDEXED OBJECTS In the previous couple articles in the Pandas series we were talking about multi-indexed objects.… Read More »pandas Part 15 – Implicit Creation of Multi-Indexed Objects
In the previous part of the openpyxl series we were talking about styles. We applied some styles to the wb2.xlsx… Read More »openpyxl Part 13 – Conditional Styling
In the previous part of the Matplotlib series we created a figure with an Axes object on it with three… Read More »matplotlib Part 4 – Multiple Axes
USING PANDAS MULTIINDEX FOR MULTIDIMENSIONAL DATA We can use the MultiIndex for multidimensional data. Here’s our example from the previous… Read More »pandas Part 14 – Using Pandas MultiIndex for Multidimensional Data
In the previous part of the openpyxl series we learned how to add formulae to your workbook. In this and… Read More »openpyxl Part 12 – Styles
In the previous part of the Matplotlib series we created a basic graph. It consists of a figure with just… Read More »matplotlib Part 3 – The Elements of A Graph
STACKING AND UNSTACKING MULTIINDICES In this article we’ll be working on our example from the previous part. Our subject today… Read More »pandas Part 13 – Stacking and Unstacking MultiIndices
In the previous part of the openpyxl series we learned how to freeze rows and columns. Today we’ll see how… Read More »openpyxl Part 11 – Formulae