How to Hash Data Without Errors (part 2)
In this post, I make a deep dive into Python hash functions, and give general principles for hashing safely.
In this post, I make a deep dive into Python hash functions, and give general principles for hashing safely.
Following several days dedicated to probability distributions, the statistics tutorial then changes tack, and turns to correlation coefficients. A correlation coefficient is a measure of how in accordance two random variables are. The values (sic) of maximum correlation are 1 and -1, meaning that the variables are fully related: when one variable changes in one …
On this post, I go on with my trail through the HackerRank series “10 Days of Statistics”. After two days dedicated to Probabilities, Day 4 starts a long subseries dedicated to statistical distributions that lasts until Day 6. And this is a return to Python programming. A Statistical Distribution is a model that tries to …
HackerRank Statistics Day 4: Binomial Distribution Read More »
In this post, I return to my series explaining solutions to the “10 Days of Statistics” tutorial on Hackerrank. Day 0 was dedicated to basic definitions, and has been covered here and here, and suggested this diversion on functional programming. Day 1 had two sets of problems: the first about quartiles and the second about …
In the previous post, I described list comprehensions and how we can use them to replace the Map and Filter functions. In this post, I’ll continue with the Weighted Mean example, and talk about the Reduce function. The function sum, which I used in the solution to the weighted mean problem, is an example of …
I pick up where I left last time, with the second problem of Day 0 in the 10 Days of Statistics. Problem 2 Given an array, , of integers and an array, , representing the respective weights of ‘s elements, calculate and print the weighted mean of ‘s elements. Your answer should be rounded to …
The first of the “10 Days of Statistics” (day 0) covers very basic definitions, that are nonetheless easy to mix together. It has 2 problems to solve. Problem 1 Given an array, , of integers, calculate and print the respective mean, median, and mode on separate lines. If your array contains more than one modal …
My first serious experience in trying to learn Machine Learning was in 2016, when I did the Machine Learning course taught by Andrew Ng on Coursera. I made a point of doing all the coursework, and through that actually learned Octave / MatLAB. Of course, what you don’t practice you forget, so I mostly have …