This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import subprocess | |
import shlex | |
import os | |
from pathlib import Path | |
def chdir_to_script_location(): | |
abspath = os.path.abspath(__file__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import theano.tensor as T | |
import pymc3 as pm | |
from utils import add_params_property | |
import ranking | |
from ranking import tennis_data, MPTrueSkill1V1NoDrawRanker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import collections | |
import dataclasses | |
import itertools | |
import typing as tp | |
from functools import partial | |
import numpy as np | |
from scipy.optimize import minimize | |
DEFAULT_CI_SIZE = 0.95 |
OlderNewer