Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
""" | |
Created on Tue Mar 13 19:17:39 2018 | |
@author: aidanrocke | |
""" | |
import tensorflow as tf | |
import numpy as np | |
This file contains 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
## taken from: http://sangsoonam.github.io/2016/08/02/publish-gitbook-to-your-github-pages.html | |
# install the plugins and build the static site | |
gitbook install && gitbook build | |
# checkout to the gh-pages branch | |
git checkout gh-pages | |
# pull the latest updates | |
git pull origin gh-pages --rebase |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
from googletrans import Translator | |
from itertools import product | |
from pandas import DataFrame, read_csv | |
import numpy as np | |
import string | |
import time | |
import os | |
# Get google translator object | |
translator = Translator() |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Thu Nov 29 13:06:26 2018 | |
@author: aidanrockea | |
""" | |
import numpy as np | |
import tensorflow as tf | |
import tensorflow_probability as tfp |
This file contains 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
using LinearAlgebra | |
using Random | |
function local_convex_test(N) | |
#srand(1234) | |
sum = 0.0 |
This file contains 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
using LinearAlgebra | |
using Random | |
function circuit_complexity(N) | |
radii = zeros(1,N); | |
for i=1:N | |
This file contains 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
using Random | |
function crazy_paths(N,delta_t) | |
ddx, dx = 10*(2*rand(N+1) .-1.0), 10*(2*rand(N+1) .-1.0) | |
ddy, dy = 10*(2*rand(N+1) .-1.0), 10*(2*rand(N+1) .-1.0) | |
x, y = 10*(2*rand(N+1) .-1.0), 10*(2*rand(N+1) .-1.0) |
OlderNewer