Skip to content

Instantly share code, notes, and snippets.

View lqhl's full-sized avatar
🎃
working on vector databases

Qin Liu 刘勤 lqhl

🎃
working on vector databases
View GitHub Profile
@lqhl
lqhl / dtree.py
Last active December 10, 2015 04:38 — forked from anonymous/dtree.py
Decision Tree: A CART Implementation
import sys
from math import sqrt
import pydot
INFINITY = 100000000
MIN_SUPPORT = 5
MAX_DEPTH = 10
ALPHA = 20