# number

## Memorizing numbers and enumerating possibilities

This post will illustrate two things: how to memorize numbers, and how to enumerate products of sets in Python. Major…

## A bevy of ones

Take any positive integer d that is not a multiple of 2 or 5. Then there is some integer k such…

## How to use Seaborn Data Visualization for Machine Learning

Data visualization provides insight into the distribution and relationships between variables in a dataset. This insight can be helpful in…

## What I learned from looking at 200 machine learning tools

By Chip Huyen, a writer and computer scientist, currently at an ML startup in Silicon Valley. To better understand the…

## Bit flipping to primes

Someone asked an interesting question on MathOverflow: given an odd number, can you always flip a bit in its binary…

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

## Are Tera Operations Per Second (TOPS) Just hype? Or Dark AI Silicon in Disguise?

By Ludovic Larzul, Founder and CEO, MipsologyIt is natural for humans to try to simplify how we compare things. People…

## Recursive Feature Elimination (RFE) for Feature Selection in Python

Recursive Feature Elimination, or RFE for short, is a popular feature selection algorithm. RFE is popular because it is easy…

## Linear Discriminant Analysis for Dimensionality Reduction in Python

Last Updated on May 14, 2020Reducing the number of input variables for a predictive model is referred to as dimensionality…

## Singular Value Decomposition for Dimensionality Reduction in Python

Reducing the number of input variables for a predictive model is referred to as dimensionality reduction. Fewer input variables can…

## Principal Component Analysis for Dimensionality Reduction in Python

Reducing the number of input variables for a predictive model is referred to as dimensionality reduction. Fewer input variables can…

## Prime plus power of 2

A new article [1] looks at the problem of determining the proportion of odd numbers that can be written as…

## How to Generate Random Numbers in Python?

The world is governed by chance. Randomness stalks us every day of our lives.            …

## Basic Data Cleaning for Machine Learning (That You Must Perform)

Data cleaning is a critically important step in any machine learning project. In tabular data, there are many different statistical…

## Extended floating point precision in R and C

The GNU MPFR library is a C library for extended precision floating point calculations. The name stands for Multiple Precision…

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

## Covid-19, your community, and you — a data science perspective

By Jeremy Howard and Rachel Thomas, fast. ai Co-FoundersWe are data scientists—that is, our job is to understand how to…

## ChaCha RNG with fewer rounds

ChaCha is a CSPRING, a cryptographically secure pseudorandom number generator. When used in cryptography, ChaCha typically carries out 20 rounds…

## A new take on the birthday problem

Vitalii Tymchyshyn and Andrii Khlevniuk posted a new paper here entitled “On the average number of birthdays in birthday paradox…

## Any number can start a factorial

= 2019…000 The factorial of 3177 is a number with 9749 digits, the first of which are 2019, and the…

## Splitting lines and numbering the pieces

If you want to see line numbers, use your editor. ” That way of thinking looks at the tools one…

## Predicted distribution of Mersenne primes

We’ll construct a plot below using Python. Note that the conjecture is asymptotic, and so it could make poor predictions…

## More bc weirdness

Actually no. It assumes that any single letter that could be a hex number is one. But in numbers with…

## Estimating vocabulary size with Heaps’ law

Heaps’ law says that the number of unique words in a text of n words is approximated byV(n) = K nβwhere…

## Proving that a choice was made in good faith

This is something I’ve helped companies with. It may be impossible to prove that a choice was not deliberate, but…