mattphotonman's repositories
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.)
2014-03-17-nyu
Software Carpentry workshop at NYU, March 17-18 2014
2014-03-18-nyu
Software Carpentry NYU Intermediate Python
2014-10-11-yale
Bootcamp at Yale University, Oct. 11 - 12, 2014.
autosuggest
(WIP) Basic autosuggest engine for text.
candle
Educational implementation of autograd similar to pytorch
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
combinatoric-game-theory
Module to solve two player combinatoric games.
Financial
Tools for financial planning
Fox_Hole_Problem--python-
Code to solve the "Fox Hole Problem": http://gurmeet.net/puzzles/fox-in-a-hole/
jackknife
C++ classes that aid in doing jackknife resampling calculations. Some methods are general purpose, some are for specific projects of mine.
Metropolis_Example
Simple example of the Metropolis algorithm to create a single random variable with a normal distribution, mean 0 and standard deviation 1.
nyu-swc-testing-demo
Demo of unit tests for Software Carpentry March 2014.
riddler_solutions
Solutions to various problems from http://fivethirtyeight.com/tag/the-riddler/
SWC-SampleRepo-2014-06-20-yale
Sample repo
SWC_Yale_Oct_2014
This is a repo to play around with for the SW carpentry bootcamp at Yale, October 2014.
tensorflow
An Open Source Machine Learning Framework for Everyone
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.
transformer-from-scratch
Code up a transformer in python while using minimal built-in classes
wordle-solver
Tools for optimizing guesses at Wordle
yahtzee_widget--python-
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.