Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Home / Developers / mattphotonman
Developer Profile

mattphotonman

Discovered public repositories for mattphotonman in the GitHub catalog.

↗

mattphotonman/yahtzee_optimize

NOTE: CODE UNFINISHED. Code to find the optimal strategy for getting a certain combination (e.g. Yahtzee, four of a kind, full house) in a turn of Yahtzee, and to calculate the probability of getting it if you follow the optimal strategy. The desired combination is encoded by specifying point values for each possible roll of the dice at the end of the turn, and the code finds the strategy that maximizes the expectation value of the number of points. The expectation value of the number of points with the optimal strategy is also returned. If you want to know a probability of a certain combination, you can set the points for rolls belonging to that combination to 1, and set the points to 0 for all other rolls.

↗

mattphotonman/Metropolis_Example

Simple example of the Metropolis algorithm to create a single random variable with a normal distribution, mean 0 and standard deviation 1.

↗

mattphotonman/Cities_College_Grads

This is an attempt at trying to explain the observed distribution of college graduates in some American cities. Within the framework of the model, it is possible to tell whether there is a clustering effect, i.e. college grads tend to go to cities with other college grads, or whether the distribution is consistent with college grads moving to cities at random. This project is in response to the following article: http://www.nytimes.com/2012/05/31/us/as-college-graduates-cluster-some-cities-are-left-behind.html

↗

mattphotonman/Shannon_Entropy--python-

Tools for calculating the Shannon entropy of a text file. Here we are considering text files to be streams of letters, and look at sets of n consecutive letters. (We are not considering the text file to be a stream of English words.)

↗

mattphotonman/Test_Jackknife_Method

Program for comparing jackknife estimates of the standard deviation of the mean of a quantity to the "actual" standard deviation. The "actual" standard deviation is calculate by repeating the experiment N times and calculating the standard deviation of the mean from these N samples.

↗

mattphotonman/jackknife

C++ classes that aid in doing jackknife resampling calculations. Some methods are general purpose, some are for specific projects of mine.

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.