Switch branches/tags
Nothing to show
Find file Copy path
f9a3c07 Apr 17, 2018
3 contributors

Users who have contributed to this file

@scoutsaachi @mohataher @davidhallac
12 lines (9 sloc) 440 Bytes
from TICC_solver import TICC
import numpy as np
import sys
fname = "example_data.txt"
ticc = TICC(window_size=1, number_of_clusters=8, lambda_parameter=11e-2, beta=600, maxIters=100, threshold=2e-5,
write_out_file=False, prefix_string="output_folder/", num_proc=1)
(cluster_assignment, cluster_MRFs) =
np.savetxt('Results.txt', cluster_assignment, fmt='%d', delimiter=',')