Permalink
Browse files

sample script

  • Loading branch information...
scoutsaachi committed Nov 11, 2017
1 parent 5588f33 commit 85cd3f3186014f0b885d8403e6f8fdcb82f5acd6
Showing with 19,616 additions and 0 deletions.
  1. +9 −0 example.py
  2. +19,607 −0 example_data.txt
View
@@ -0,0 +1,9 @@
import TICC_solver as TICC
import numpy as np
import sys
fname = "example_data.txt"
(cluster_assignment, cluster_MRFs) = TICC.solve(window_size = 1,number_of_clusters = 8, lambda_parameter = 11e-2, beta = 600, maxIters = 100, threshold = 2e-5, write_out_file = False, input_file = fname, prefix_string = "output_folder/", num_proc=1)
print cluster_assignment
np.savetxt('Results.txt', cluster_assignment, fmt='%d', delimiter=',')
Oops, something went wrong.

0 comments on commit 85cd3f3

Please sign in to comment.