I hereby claim:
- I am grahamannett on github.
- I am grahama (https://keybase.io/grahama) on keybase.
- I have a public key whose fingerprint is C7F4 8C0A 8D1D 1B00 9CFB 0922 5770 5EF6 1BFC E17E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
😈 ~ $ mktmpenv | |
New python executable in tmp-f0a7b52744b0feee/bin/python2.7 | |
Also creating executable in tmp-f0a7b52744b0feee/bin/python | |
Installing setuptools, pip...done. | |
This is a temporary environment. It will be deleted when you run 'deactivate'. | |
(tmp-f0a7b52744b0feee)😈 tmp-f0a7b52744b0feee $ pip freeze | |
You are using pip version 6.0.8, however version 7.0.3 is available. |
class SequenceDataGen: | |
''' | |
to add: | |
vocab from: | |
https://gist.github.com/braingineer/c69482eb1bfa4ac3bf9a7bc9b6b35cdf | |
Generate minibatches on time series data | |
example data can be generated with these: | |
c1 = (list(range(1,10,1)) + list(range(10,1,-1)))*100 | |
c2 = [x * -1 * random() for x in c1] |
import numpy as np | |
class SequenceDataGen: | |
'''Generate batches on time series/sequential data | |
Arguments: | |
step_size: set input mean to 0 over the dataset. | |
x_window: size of moving window over x |
package main | |
import ( | |
"fmt" | |
"os" | |
"sort" | |
) | |
type kv struct { | |
Key string |
import numpy as np | |
import itertools | |
keypad = [list(range(n, n+3)) for n in range(1, 10, 3)] | |
keypad.append([None, 0, None]) | |
keypad = np.array(keypad) | |
def get_values(obs): |
function matlab -w matlab -a cmd -d 'matlab fish shell function.' | |
# main executable | |
set -l MATLAB_APP /Applications/MATLAB_R2018a.app/bin/matlab | |
# help command | |
set -l PRINT_HELP """ | |
matlab [command] | |
use matlab from terminal | |
commands: | |
nodesktop - run with -nodisplay -nospash (default) |
python-build: use openssl@1.1 from homebrew | |
python-build: use readline from homebrew | |
/var/folders/3f/pc11ycws4wsfbw5sk_7s8cfr0000gn/T/python-build.20190718105125.49297 ~ | |
/var/folders/3f/pc11ycws4wsfbw5sk_7s8cfr0000gn/T/python-build.20190718105125.49297/Python-3.7.4 /var/folders/3f/pc11ycws4wsfbw5sk_7s8cfr0000gn/T/python-build.20190718105125.49297 ~ | |
python-build: use readline from homebrew | |
python-build: use zlib from xcode sdk | |
checking build system type... x86_64-apple-darwin18.6.0 | |
checking host system type... x86_64-apple-darwin18.6.0 | |
checking for python3.7... python3.7 | |
checking for --enable-universalsdk... no |
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Run File", | |
"command": "${config:python.pythonPath} ${file}", | |
"type": "shell", | |
"group": { |
\documentclass[12pt]{article} | |
\usepackage[margin=1in]{geometry} | |
\usepackage{amsmath,amsthm,amssymb,scrextend} | |
\usepackage{fancyhdr} | |
\pagestyle{fancy} | |
\newcommand{\cont}{\subseteq} | |
% https://tex.stackexchange.com/questions/121061/working-with-arial-or-helvetica-fonts |