Skip to content

Commit

Permalink
symbolization
Browse files Browse the repository at this point in the history
  • Loading branch information
wannesm committed Nov 30, 2023
1 parent fab010d commit b0bbf00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dtaidistance/symbolization/alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ def align(self, series):
for sidx in range(len(sc)):
for midx in range(len(self.codebook)):
medoidd = np.array(self.codebook[midx])
sa = subsequence_alignment(medoidd, sc[sidx])
sa.use_c = self.use_c
sa = subsequence_alignment(medoidd, sc[sidx], use_c=self.use_c)
for match in sa.kbest_matches(k=None):
patterns[sidx, match.segment[0]:match.segment[1], midx] = match.value
patterns[:, :, len(self.codebook)] = 0
Expand Down

0 comments on commit b0bbf00

Please sign in to comment.