Skip to content

Commit

Permalink
covar
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlab committed Oct 29, 2023
1 parent 6fcd422 commit 42b0c21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/napatrackmater/Trackvector.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ def supervised_clustering(

)
if not np.isnan(gt_track_array[0]) and shape_dynamic_track_array.shape[0] > 1:
print(gt_track_array[0], shape_dynamic_track_array.shape)
print(gt_track_array[0][0], shape_dynamic_track_array.shape)
(
shape_dynamic_covariance,
shape_dynamic_eigenvectors,
Expand All @@ -700,7 +700,7 @@ def supervised_clustering(
flattened_covariance = shape_dynamic_covariance.flatten()
data_list.append({
'Flattened_Covariance': flattened_covariance,
'gt_label': gt_track_array[0]
'gt_label': gt_track_array[0][0]
})
result_dataframe = pd.DataFrame(data_list)
if os.path.exists(csv_file_name_original):
Expand Down

0 comments on commit 42b0c21

Please sign in to comment.