Skip to content

Instantly share code, notes, and snippets.

@ShigekiKarita
ShigekiKarita / descision_tree.py
Created November 4, 2014 18:40
descision_tree.py
from math import log2
from csv import reader
from collections import Counter
from sys import argv
def transpose(xx):
return map(list, zip(*xx))