Giter VIP home page Giter VIP logo

old-small-stuff's Introduction

tiny code snippets that I want to archive

  • AJD custom functions: custom Python functions for later use
  • schafkopf_wkeiten.R calculates useful probabilities for the traditional Bavarian card game Schafkopf. The game can be played online at sauspiel.de.
  • optimal location cph.R, used to find a good place for where to look for rooms in Copenhagen, depending on which spots I frequent and how often. No public transport or bikepaths included, just Euclidian distance.
  • lotto.R takes a vector of weights of lottery numbers as input, convertes those to drawing probabilities and draws random lottery numbers for the German lottery game "6 aus 49" (pick 6 out of 49) according to these probabilities. While any lottery game probably still has negative expected value, this strategy aims to increase the expected value of a combination by assigning a lower drawing probability to popular or more common numbers (for example popular due to birthdays: 1-31, 1-12, 19xx) and thus increasing the expected payout while keeping the winning probability constant.
  • norrebrogpx.R displays a GPX file (for example of a run on Strava) as a line, or points, on a map.
  • black-scholes-implied-volatility contains an implementation of Brent's algorithm to find the implied volatility of an option, written in C++, plus the translation (and definition of the Black-Scholes-formula) in a Jupyter Notebook/Python

old-small-stuff's People

Contributors

howtodowtle avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.