load_label_csv¶
- daart.data.load_label_csv(filepath: str) tuple[source]¶
Load labels from csv file assuming a standard format.
| <class 0> | <class 1> | …¶
0 | 0 | 1 | … 1 | 0 | 1 | … . | . | . | … . | . | . | … . | . | . | …
- param filepath:
absolute path of csv file
- type filepath:
str
- returns:
labels (np.ndarray): shape (n_t, n_labels)
label names (list): name for each column in labels matrix
- rtype:
tuple