This is a follow-up to yesterday’s post. In that post we looked at iterates of the function f(x) = exp(…

Continue Reading# point

## Novel and extended floating point

My first consulting project, right after I graduated college, was developing floating point algorithms for a microprocessor. It was fun…

Continue Reading## How to compute the square root of a complex number

Suppose you’re given a complex number z = x + iy and you want to find a complex number w…

Continue Reading## Accurately computing a 2×2 determinant

The most obvious way to compute the determinant of a 2×2 matrix can be numerically inaccurate. The biggest problem with…

Continue Reading## When is round-trip floating point radix conversion exact?

Suppose you store a floating point number in memory, print it out in human-readable base 10, and read it back…

Continue Reading## A tale of two iterations

I recently stumbled on a paper [1] that looks at a cubic equation that comes out of a problem in…

Continue Reading## Cobweb plots

Cobweb plots are a way of visualizing iterations of a function. For a function f and a starting point x,…

Continue Reading## Variation on cosine fixed point

If you enter any number into a calculator and repeatedly press the cosine key, you’ll eventually get 0. 73908513, assuming…

Continue Reading## Logistic bifurcation diagram in detail

The image below if famous. I’ve seen it many times, but rarely with a detailed explanation. If you’ve ever seen…

Continue Reading## Summing an array of floating point numbers

No and no. In fact, the use of 32-bit float types is on the rise. Moving data in an out…

Continue Reading## Fixed points of the Cliff random number generator

I ran across the Cliff random number generator yesterday. Given a starting value x0 in the open interval (0, 1),…

Continue Reading## Rudimentary k-Nearest Neighbors

Rudimentary MLRudimentary k-Nearest NeighborsThe most intuitive ML modelJovan MedfordBlockedUnblockFollowFollowingMay 20Sometimes in data science you find yourself picking up a missile launcher…

Continue Reading## DBSCAN Algorithm: Complete Guide and Application with Python Scikit-Learn

Below are the 2 steps —Density at a point P: Number of points within a circle of Radius Eps (ϵ)…

Continue Reading## How to Tackle Your Next Regression Problem

Photo by Campaign Creators on UnsplashHow to Tackle Your Next Regression ProblemThe Key Ideas to Consider for Your Next Regression ModelTom…

Continue Reading## Using the ‘What-If Tool’ to investigate Machine Learning models

By Parul Pandey. In this era of explainable and interpretable Machine Learning, one merely cannot be content with simply training…

Continue Reading## Locally-Linear Embedding

Dimension ReductionLocally-Linear Embeddingin PythonDiogo RibeiroBlockedUnblockFollowFollowingMay 31Photo by Raul Cacho Oses on UnsplashLLE is a topology preserving manifold learning method. All manifold…

Continue Reading## Throwback to that time Microsoft actually did something cool

Like, just three points. These points could have simple 2D physics attached to them, like velocity and direction. The result…

Continue Reading## Layman’s Introduction to KNN

Layman’s Introduction to KNNk-nearest neighbour algorithm is where most people begin when starting with machine learning. Rishi SidhuBlockedUnblockFollowFollowingMay 20Photo by timJ…

Continue Reading## Regularization and Geometry

Regularization and GeometryMinh PhamBlockedUnblockFollowFollowingMay 11I. Bias-Variance TradeoffWhen we perform statistical modeling, the goal is not to select a model that fits…

Continue Reading## Machine Learning: Building Recommender Systems

K Nearest Neighbors:") for rank, index in enumerate(indices[0][:k], start=1): print(str(rank) + " ==>", X[index])Visualize the nearest neighbours:# Visualize the nearest…

Continue Reading## Unsupervised Learning Project: Creating Customer Segments

Unsupervised Learning Project: Creating Customer SegmentsLearn how to develop and end-to-end Clustering and Dimensionality Reduction Project!Victor RomanBlockedUnblockFollowFollowingApr 28IntroductionThroughout this project, we…

Continue Reading## Stealing Fuel Data

Stealing Fuel DataDave AllieBlockedUnblockFollowFollowingApr 19A little over a year ago, I discovered that the ACCC (Australian Competitor and Consumer Commission) reports…

Continue Reading## Sampling time series data sets

Sampling time series data setsDatylonBlockedUnblockFollowFollowingApr 17An SQL implementation of the ‘Largest Triangle Three Bucket’ algorithmby Peter Coppens, Co-Founder & CTO @…

Continue Reading## We are All Baby Shark (in Data Tracking)

It’s what you get if swimming and golf have a baby. To think how far these devices have come in…

Continue Reading## Overcoming challenges when designing a fraud detection system

Overcoming challenges when designing a fraud detection systemA word on how oversampling our data, and choosing the right model and…

Continue Reading