Skip to content

Instantly share code, notes, and snippets.

View melisabok's full-sized avatar
:octocat:
Coding

Melisa Bok melisabok

:octocat:
Coding
View GitHub Profile
@melisabok
melisabok / gist:9745a08b6d93823202d7d088d210048e
Created December 22, 2016 21:44
LDA model with 15 topics
{
"cells": [
{
"cell_type": "code",
"execution_count": 107,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
{
"cells": [
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
{
"cells": [
{
"cell_type": "code",
"execution_count": 18,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
@melisabok
melisabok / get names
Created March 24, 2016 19:38
get names
{
"cells": [
{
"cell_type": "code",
"execution_count": 15,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
@melisabok
melisabok / NormalizedFact.ipynb
Created November 6, 2015 20:03
get normalized fact from sentilecto api
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@melisabok
melisabok / README.MD
Last active October 6, 2015 23:51
Most informative ngrams by gender based on spanish tweets

Bubble plot show the most informative features got running a Bayesian classifier over 38.000 spanish tweets.

  • The tweets are from the year 2013 and localized in Argentina.
  • Features are ngrams from 1 to 6 length.
  • The plot shows the 100 most informative features of the NaiveBayes classifier:
classifier.show_most_informative_features(100)

More info about Naive Bayes

@melisabok
melisabok / README.md
Last active August 29, 2015 14:18
Conway's Game of Life

From Wikipedia:

The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.[1]

The "game" is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves or, for advanced players, by creating patterns with particular properties

@melisabok
melisabok / index.html
Created December 4, 2012 12:26
Sparkline example
<html>
<head>
<title>Simple Sparkline using SVG Path and d3.js</title>
<script src="http://mbostock.github.com/d3/d3.v2.js"></script>
<style>
/* tell the SVG path to be a thin blue line without any area fill */
path {
stroke: steelblue;
stroke-width: 2;
fill: none;