We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bca5b57 commit 801f3cbCopy full SHA for 801f3cb
1 file changed
lvq/silvq.py
@@ -58,7 +58,7 @@ def export_as_compressed_data(self, path='output/', filename='compressed_data.cs
58
os.makedirs(path, exist_ok=True)
59
data = np.zeros((self.m.shape[0], self.m.shape[1] + 1))
60
data[:, :-1] = self.m
61
- data[:, -1] = self.c.astype('int64')
+ data[:, -1] = self.c
62
np.savetxt('{}{}'.format(path, filename), data, delimiter=',')
63
print('export model as compressed data. (file: {}{})'.format(path, filename))
64
0 commit comments