TagAlgorithm

An Algorithm for Computing the Approximate IoU Between Oriented 2D boxes

This post shows an *approximation method to compute the IoU between oriented 2D boxes*.

Fit the distribution of the sum of independent Gamma random variable

I implemented in Python an algorithm that fits the distribution of the sum of independent Gamma random variables.

A vectorized Mann-Kendall trend test implementation using numpy + scipy

In this post we are going to work out a vectorized Mann-Kendall trend test implementation using numpy and scipy.

Compute Sample Silhouette Values in a Clustering Analysis

This post shares a Python implementation to compute the Silhouette Values in a clustering analysis.

Ramer-Douglas-Peucker (RDP) algorithm in spherical coordinate

The Ramer-Douglas-Peucker (RDP) algorithm is a curve simplification method. To apply it on coordinates defined by latitudes/longitudes, we need to replace the Cartesian geometry with a spherical one.

Peak prominence

Peak prominence can be used to identify relatively organized regional maxima while filtering out local disturbances.