Skip to content

Instantly share code, notes, and snippets.

Avatar

Bob Lannon boblannon

View GitHub Profile
View jenks2.py
import json
from pprint import pprint as pp
def jenks_matrices_init(data, n_classes):
#fill the matrices with data+1 arrays of n_classes 0s
lower_class_limits = []
variance_combinations = []
for i in xrange(0, len(data)+1):
temp1 = []
temp2 = []
You can’t perform that action at this time.