# point

## Square waves and cobwebs

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

## 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…

## 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…

## 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…

## 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…

## 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…

## Cobweb plots

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

## 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…

## 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…

## 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…

## 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),…

## 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…

## 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 (ϵ)…

## 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…

## 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…

## 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…

## 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…

## 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…

## 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…

## 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…

## 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…

## Stealing Fuel Data

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

## 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 @…

## 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…

## 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…