Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for issue 305 #309

Merged
merged 2 commits into from
Mar 28, 2022
Merged

fix for issue 305 #309

merged 2 commits into from
Mar 28, 2022

Conversation

sudiptoguha
Copy link
Contributor

Issue #, if available: Issue 305. The most recent changes to main broke the state classes older models (version 2.0.1).

Description of changes: Changes the PointStoreMapper to address the transformation and adds tests.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sudiptoguha sudiptoguha requested a review from jotok March 28, 2022 21:31
int shingleSize = state.getShingleSize();
int baseDimension = dimensions / shingleSize;
for (int i = 0; i < tempList.length; i++) {
checkArgument(tempList[i] % baseDimension == 0, " incorrect state");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we provide a more descriptive error message?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree, not so easy to get what's wrong with the general error message

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

ylwu-amzn added a commit to ylwu-amzn/anomaly-detection-2 that referenced this pull request Mar 28, 2022
Copy link
Contributor

@ylwu-amzn ylwu-amzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks a lot for fixing this quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants