Skip to content

Commit 801f3cb

Browse files
committed
Clean silvq
1 parent bca5b57 commit 801f3cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lvq/silvq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def export_as_compressed_data(self, path='output/', filename='compressed_data.cs
5858
os.makedirs(path, exist_ok=True)
5959
data = np.zeros((self.m.shape[0], self.m.shape[1] + 1))
6060
data[:, :-1] = self.m
61-
data[:, -1] = self.c.astype('int64')
61+
data[:, -1] = self.c
6262
np.savetxt('{}{}'.format(path, filename), data, delimiter=',')
6363
print('export model as compressed data. (file: {}{})'.format(path, filename))
6464

0 commit comments

Comments
 (0)