Skip to content

Commit 950484b

Browse files
author
Sebastian Schmidl
authored
Chores: small fixes for code in READMEs and versions [skip ci] (#47)
chore: small fixes for code in READMEs and versions [skip ci]
1 parent 9e75ea4 commit 950484b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

grammarviz3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def post_grammarviz(algorithm_parameter: AlgorithmParameter, args: dict) -> np.n
4949
scores = np.zeros_like(sums)
5050
np.divide(sums, counts, out=scores, where=counts != 0)
5151
# returns the completely flattened array (from `[[1.2], [2.3]]` to `[1.2, 2.3]`)
52-
return scores.A1
52+
return scores.A1 # type: ignore
5353
```
5454
<!--END:timeeval-post-->
5555

hotsax/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def post_hotsax(algorithm_parameter: AlgorithmParameter, args: dict) -> np.ndarr
5252
scores = np.zeros_like(sums)
5353
np.divide(sums, counts, out=scores, where=counts != 0)
5454
# returns the completely flattened array (from `[[1.2], [2.3]]` to `[1.2, 2.3]`)
55-
return scores.A1
55+
return scores.A1 # type: ignore
5656
```
5757
<!--END:timeeval-post-->
5858

mscred/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ def post_mscred(scores: np.ndarray, args: dict) -> np.ndarray:
3333
max_window_size = max(args.get("hyper_params", {}).get("windows", [10, 30, 60]))
3434
offset = (ds_length - (max_window_size - 1)) % gap_time
3535
image_scores = ReverseWindowing(window_size=window_size).fit_transform(scores)
36-
return np.concatenate([np.repeat(image_scores[:-offset], gap_time), image_scores[-offset:]])
36+
return np.concatenate([np.repeat(image_scores[:-offset], gap_time), image_scores[-offset:]]) # type: ignore
3737
```
3838
<!--END:timeeval-post-->

ssa/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Segmented Sequence Analysis calculates two piecewise linear models, aligns them and then computes the similarity between them. Finally a treshhold based approach is used to classify data as anomalous.",
44
"inputDimensionality": "univariate",
55
"learningType": "Unsupervised",
6-
"version": "1.0",
6+
"version": "1.0.0",
77
"authors": "Yuan Yao et al.",
88
"language": "Python",
99
"type": "Detector",

0 commit comments

Comments
 (0)