# Articles by The Pleasure of Finding Things Out: A blog by James Triveri

### Assessing Model Goodness-of-Fit in Python with Scipy

March 2, 2024 | The Pleasure of Finding Things Out: A blog by James Triveri

This article explores techniques that can be used to assess how well a model fits a dataset. Specifically, we’ll demonstrate how to produce the following visualizations: Q-Q Plot: Compares two probability distributions by plotting their quantile...
\begin{align*} \bar{x} &= \frac{1}{n}\sum_{i=1}^{n} x_{i} \\ s^{2} &= \frac{1}{n-1}\sum_{i=1}^{n} (x_{i} - \bar{x})^2 \end{align*}

### Assessing Model Goodness-of-Fit in Python with Scipy

March 2, 2024 | The Pleasure of Finding Things Out: A blog by James Triveri

This article explores techniques that can be used to assess how well a model fits a dataset. Specifically, we’ll demonstrate how to produce the following visualizations: Q-Q Plot: Compares two probability distributions by plotting their quantil...
\begin{align*} \bar{x} &= \frac{1}{n}\sum_{i=1}^{n} x_{i} \\ s^{2} &= \frac{1}{n-1}\sum_{i=1}^{n} (x_{i} - \bar{x})^2 \end{align*}

### Backpropagation for Fully-Connected Neural Networks

February 28, 2024 | The Pleasure of Finding Things Out: A blog by James Triveri

Backpropagation is a key algorithm used in training fully connected neural networks, also known as feed-forward neural networks. In this algorithm, the network’s output error is propagated backward, layer by layer, to adjust the weights of connec...
$X$

### Creating scikit-learn Pipelines

February 28, 2024 | The Pleasure of Finding Things Out: A blog by James Triveri

Within scikit-learn, pipelines allow for the consolidation of all data preprocessing steps along with a final estimator using a single interface. The pipeline object can then be passed into a grid search routine to identify optimal hyperparameter...

### Creating scikit-learn Pipelines

February 28, 2024 | The Pleasure of Finding Things Out: A blog by James Triveri

Within scikit-learn, pipelines allow for the consolidation of all data preprocessing steps along with a final estimator using a single interface. The pipeline object can then be passed into a grid search routine to identify optimal hyperparamete...

### Backpropagation for Fully-Connected Neural Networks

February 28, 2024 | The Pleasure of Finding Things Out: A blog by James Triveri

Backpropagation is a key algorithm used in training fully connected neural networks, also known as feed-forward neural networks. In this algorithm, the network’s output error is propagated backward, layer by layer, to adjust the weights of conne...

### Shared Data Parallel Processing in Python

February 24, 2024 | The Pleasure of Finding Things Out: A blog by James Triveri

The Python multiprocessing library exposes an interface that simplifies distributing tasks to multiple cores. The multiprocessing.Pool class provides access to a pool of worker processes to which jobs can be submitted. It supports asynchronous re... [...Read more...]

### Shared Data Parallel Processing in Python

February 24, 2024 | The Pleasure of Finding Things Out: A blog by James Triveri

The Python multiprocessing library exposes an interface that simplifies distributing tasks to multiple cores. The multiprocessing.Pool class provides access to a pool of worker processes to which jobs can be submitted. It supports asynchronous r... [...Read more...]

### A PDF Harvester in 25 Lines of Python

February 20, 2024 | The Pleasure of Finding Things Out: A blog by James Triveri