Skip to content

Instantly share code, notes, and snippets.

Avatar

John Wakefield robosoup

View GitHub Profile
@robosoup
robosoup / doc2vec.py
Created Jan 6, 2019
Measuring the similarity of books using TF-IDF, Doc2vec and TensorFlow
View doc2vec.py
import collections
import math
import os
import pickle
import random
import re
import time
import urllib.request
import matplotlib.pyplot as plt
@robosoup
robosoup / wisdom.py
Last active Nov 10, 2018
Horse Racing and the Wisdom of Crowds
View wisdom.py
import csv
import os
import urllib.request
from os import listdir
import lxml.html
DOWNLOAD_DIR = 'e:\\prices'
MAX_ODDS = 26
You can’t perform that action at this time.