code from Piantadosi (2018)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

One parameter is always enough

This code implements the one parameter model from Piantadosi (2018). The code defaultly reads a .png image, chooses a random black y value for each x, and fits a scatter plot to those values, returning the fitted values.