Skip to content

Commit

Permalink
Clean silvq
Browse files Browse the repository at this point in the history
  • Loading branch information
manome committed Jan 12, 2023
1 parent bca5b57 commit 801f3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lvq/silvq.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def export_as_compressed_data(self, path='output/', filename='compressed_data.cs
os.makedirs(path, exist_ok=True)
data = np.zeros((self.m.shape[0], self.m.shape[1] + 1))
data[:, :-1] = self.m
data[:, -1] = self.c.astype('int64')
data[:, -1] = self.c
np.savetxt('{}{}'.format(path, filename), data, delimiter=',')
print('export model as compressed data. (file: {}{})'.format(path, filename))

Expand Down

0 comments on commit 801f3cb

Please sign in to comment.