This post will illustrate two things: how to memorize numbers, and how to enumerate products of sets in Python. Major…
Continue Readingnumber
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…
Continue ReadingHow 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…
Continue ReadingWhat 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…
Continue ReadingBit flipping to primes
Someone asked an interesting question on MathOverflow: given an odd number, can you always flip a bit in its binary…
Continue ReadingHow 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 ReadingAre 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…
Continue ReadingRecursive 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…
Continue ReadingLinear 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…
Continue ReadingSingular 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…
Continue ReadingPrincipal 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…
Continue ReadingPrime plus power of 2
A new article [1] looks at the problem of determining the proportion of odd numbers that can be written as…
Continue ReadingHow to Generate Random Numbers in Python?
The world is governed by chance. Randomness stalks us every day of our lives. …
Continue ReadingBasic 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…
Continue ReadingExtended 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…
Continue ReadingWhen 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 ReadingCovid-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…
Continue ReadingChaCha RNG with fewer rounds
ChaCha is a CSPRING, a cryptographically secure pseudorandom number generator. When used in cryptography, ChaCha typically carries out 20 rounds…
Continue ReadingA 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…
Continue ReadingAny 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…
Continue ReadingSplitting lines and numbering the pieces
If you want to see line numbers, use your editor. ” That way of thinking looks at the tools one…
Continue ReadingPredicted 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…
Continue ReadingMore bc weirdness
Actually no. It assumes that any single letter that could be a hex number is one. But in numbers with…
Continue ReadingEstimating 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…
Continue ReadingProving 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…
Continue Reading