Skip to content

Instantly share code, notes, and snippets.

View murbard's full-sized avatar

Arthur Breitman murbard

View GitHub Profile

Keybase proof

I hereby claim:

  • I am murbard on github.
  • I am arthurb (https://keybase.io/arthurb) on keybase.
  • I have a public key whose fingerprint is 712E 16AD 716A 31F1 8342 EB54 36DA 9C3F B241 0249

To claim this, I am signing this object:

import requests
import pandas
import numpy as np
from sklearn.gaussian_process import GaussianProcessRegressor
from sklearn.gaussian_process.kernels import ConstantKernel as C, RBF, WhiteKernel as W
import matplotlib
matplotlib.use('TkAgg')
from matplotlib import pyplot as plt
@murbard
murbard / query.py
Last active October 3, 2022 15:32
average number of queries to sort
import numpy as np
import random
class Oracle():
def __init__(self, n, replace = True):
self.n = n
self.count = 0
self.replace = replace
self.returned = []