I hereby claim:
- I am shawntan on github.
- I am tanshawn (https://keybase.io/tanshawn) on keybase.
- I have a public key whose fingerprint is AF85 0321 0AF8 0C24 A14F DFAA 180E 1682 D94C 64AC
To claim this, I am signing this object:
defscrollback 5000 | |
altscreen on | |
autodetach on | |
caption always " | %-w%{= BW}%40L>%n %t%{-}%+w |%<" | |
hardstatus alwayslastline | |
# Turn off that annoying start up message | |
startup_message off | |
# Turn the even more annoying whole-screen-flash-on-tab-complete "feature" | |
vbell off | |
# Window list at the bottom. hostname, centered tabs and redmarked active windows: |
var add = function(a,b) { return a+b }; | |
var mul = function(a,b) { return a*b }; | |
function exp(tree) { | |
if (typeof tree == 'number') { | |
return tree; | |
} else { | |
var fun = tree[0]; | |
var args = new Array(tree.length-1); | |
for (var i=1;i<tree.length;i++) { |
from scipy.io import wavfile | |
import numpy as np | |
sample_rate,audio_data = wavfile.read('SI2203.WAV') | |
sample_rate,noise_data = wavfile.read('babble.wav') | |
# Take only stuff from first half. | |
start_time_limit = noise_data.shape[0]/2 - audio_data.shape[0] | |
start_time = np.random.randint(low=0,high=start_time_limit) | |
noise_data = noise_data[start_time:start_time+audio_data.shape[0]] |
Applications | |
- Google Image search | |
- Google speech recognition | |
- Google Street View number recognition | |
https://en.wikipedia.org/wiki/Deep_learning | |
ANNs: A brief history | |
===================== |
I hereby claim:
To claim this, I am signing this object:
function get(scur,dcur,val) | |
b = json:decode(http.request("http://api.fixer.io/latest?base="..scur)) | |
local rate = b.rates[dcur] | |
local timestamp = b.date | |
text = scur.." to "..dcur..'\n'..'Rate: 1.000 : '..rate | |
if val then | |
dval = val * tonumber(rate) | |
text = text.."\n "..val.." "..scur.." = "..dval.." "..dcur | |
end | |
return text |
Symbol = (function() { | |
function createArray(length) { | |
var arr = new Array(length || 0),i = length; | |
if (arguments.length > 1) { | |
var args = Array.prototype.slice.call(arguments, 1); | |
while(i--) arr[length-1 - i] = createArray.apply(this, args); | |
} else { | |
for (var i=0;i < arr.length; i++) arr[i] = 0.0; | |
} | |
return arr; |