April 14, 2022, 7:54 a.m. | Mark Jamison

Towards Data Science - Medium towardsdatascience.com

Photo by Андрей Сизов on Unsplash

Random Sampling using SciPy and NumPy: Part II

Fancy algorithms, source code walkthrough and potential improvements

In Part I we went through the basics of Inverse Transform Sampling (ITS) and created our own ITS pure python implementation to sample numbers from a standard normal distribution. We then compared the speed of our somewhat optimised function to that of the built in SciPy function and found ourselves somewhat lacking — to the tune of being …

data science ii mathematics numpy part programming python random sampling scipy statistics

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Senior Software Engineer, Generative AI (C++)

@ SoundHound Inc. | Toronto, Canada