Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion paper code/TICC.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def compute_confusion_matrix(num_clusters,clustered_points_algo, sorted_indices_
seg_len = 200
true_confusion_matrix = np.zeros([num_clusters,num_clusters])
for point in xrange(len(clustered_points_algo)):
cluster = clustered_points_algo[point]
cluster = int(clustered_points_algo[point])


##CASE G: ABBACCCA
Expand Down
4 changes: 2 additions & 2 deletions paper code/network_accuracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
num_blocks = window_size + 1
switch_penalty = beta## smoothness penalty
lam_sparse = lambda_parameter##sparsity parameter
maxClusters = number_of_cluster+1## Number of clusters + 1
maxClusters = number_of_clusters+1## Number of clusters + 1
write_out_file = False ##Only if True are any files outputted
num_stacked = num_blocks - 1
##colors used in hexadecimal format
Expand Down Expand Up @@ -179,7 +179,7 @@ def compute_confusion_matrix(num_clusters,clustered_points_algo, sorted_indices_
seg_len = 200
true_confusion_matrix = np.zeros([num_clusters,num_clusters])
for point in xrange(len(clustered_points_algo)):
cluster = clustered_points_algo[point]
cluster = int(clustered_points_algo[point])


##CASE G: ABBACCCA
Expand Down