comparison Marea/marea_cluster.py @ 14:1a0c8c2780f2 draft

Uploaded
author bimib
date Wed, 13 Feb 2019 05:48:56 -0500
parents e96f3b85e5a0
children c71ac0bb12de
comparison
equal deleted inserted replaced
13:e96f3b85e5a0 14:1a0c8c2780f2
5 import collections 5 import collections
6 import pickle as pk 6 import pickle as pk
7 import argparse 7 import argparse
8 from sklearn.cluster import KMeans 8 from sklearn.cluster import KMeans
9 import matplotlib 9 import matplotlib
10 matplotlib.use('GTKAgg') 10 # Force matplotlib to not use any Xwindows backend.
11 matplotlib.use('Agg')
11 import matplotlib.pyplot as plt 12 import matplotlib.pyplot as plt
12 13
13 ########################## argparse ########################################### 14 ########################## argparse ###########################################
14 15
15 def process_args(args): 16 def process_args(args):