I hereby claim:
- I am eunicekokor on github.
- I am eunice (https://keybase.io/eunice) on keybase.
- I have a public key ASDQTbkh4PuEqTlN8wppsFRcZyvv3J26Du-d-7LWLiE3lgo
To claim this, I am signing this object:
const config = { | |
type: 'scatter', | |
data: data, | |
options: { | |
scales: { | |
y: { | |
beginAtZero: true | |
}, | |
x: { | |
type: 'time', |
/** @jsx jsx */ | |
import { jsx, css } from '@emotion/core' | |
const breakpoints = {'mobile': 320, 'tablet':768, 'desktop':992, 'desktop-xl': 1200}; | |
const mq = (size) => `@media (min-width: ${breakpoints[size]}px)` | |
render( | |
<div> |
Verifying my Blockstack ID is secured with the address 1A7tfjS83WVde7eEoMUvAUK8SdEWatZCRv https://explorer.blockstack.org/address/1A7tfjS83WVde7eEoMUvAUK8SdEWatZCRv |
Verifying my Blockstack ID is secured with the address 1A7tfjS83WVde7eEoMUvAUK8SdEWatZCRv https://explorer.blockstack.org/address/1A7tfjS83WVde7eEoMUvAUK8SdEWatZCRv |
I hereby claim:
To claim this, I am signing this object:
$content-width: 58.75rem; | |
$padding-col: 0.625rem; | |
*, | |
*::after, | |
*::before { | |
box-sizing: border-box; | |
margin: 0; | |
padding: 0; | |
} |
def get_population(): | |
with open('population.json') as f: | |
contents = json.load(f)['data'] | |
pop_dict = {} | |
for i,stuff in enumerate(contents): | |
if '2010' in contents[i]: | |
pop_dict[str(stuff[12])] = int(stuff[13]) | |
return pop_dict |
#A Collection of NLP notes
##N-grams
###Calculating unigram probabilities:
P( wi ) = count ( wi ) ) / count ( total number of words )
In english..
function fetchSongInfo(track) { | |
info('Getting song info for ' + track.name + ' by ' + track.artists[0].name); | |
var url = 'http://developer.echonest.com/api/v4/track/profile?api_key=N6E4NIOVYMTHNDM8J&callback=?'; | |
var track_id = fromSpotify(track.uri); | |
$.getJSON(url, { id: track_id, format:'jsonp', bucket : 'audio_summary'}, function(data) { | |
if (checkResponse(data)) { | |
info(""); | |
showTrackInfo(data.response.track); | |
fetchAnalysis(data.response.track); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>TraderBae</title> | |
<style id="jsbin-css"> | |
body { | |
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; | |
font-weight: 300; | |
} |