I hereby claim:
- I am alchemyst on github.
- I am chthonicdaemon (https://keybase.io/chthonicdaemon) on keybase.
- I have a public key ASBb5Dm50NZo2nvCmW88mEufoeTM3eqCsFzsgfk55jIO8Qo
To claim this, I am signing this object:
#!/usr/bin/env python | |
import argparse | |
import subprocess | |
import pathlib | |
parser = argparse.ArgumentParser("Concatenate and encode movies") | |
parser.add_argument("infiles", nargs='+', | |
type=argparse.FileType('r'), | |
help='Files to encode') |
I hereby claim:
To claim this, I am signing this object:
import logging | |
import sys | |
import functools | |
logging.basicConfig(level=logging.DEBUG) | |
LOGGER = logging | |
def log_if_exception(message): | |
def decorator(function): |
#!/usr/bin/env python | |
import tkinter as tk | |
import math | |
import re | |
from collections import ChainMap | |
Nrows = 5 | |
Ncols = 5 |
#!/usr/bin/env python | |
import tkinter as tk | |
import time | |
import random | |
Nsegments = 100 | |
class Application(tk.Frame): | |
def __init__(self, master=None): |
import numpy as np | |
import time | |
from scipy.optimize import minimize, nnls | |
from cvxpy import * | |
np.random.seed(1) | |
""" Test-data generator """ | |
def create_test_data(samples, features, noise, loc=10, scale=2.5): | |
m = np.random.normal(loc=loc, scale=scale, size=(samples, features)) |
README is empty
N = 1000 | |
h = 5 | |
y = numpy.random.randn(N) | |
x = numpy.zeros_like(y) | |
for i in range(h, len(y)): | |
x[i] = x[i-1] + y[i - h] |