-
Notifications
You must be signed in to change notification settings - Fork 72
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: add support output for ARs #461
Conversation
b2ccc1e
to
2b49d23
Compare
2b49d23
to
ee0dac0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything good in my opinion. Just fix two minor moments
@@ -318,4 +338,28 @@ TEST_F(ARAlgorithmTest, RepeatedExecutionConsistentResult) { | |||
} | |||
} | |||
|
|||
TEST_F(ARAlgorithmTest, SupportAndConfidenceSingular) { | |||
auto algorithm = CreateAlgorithmInstance(kRulesBook, 0.2, 0.5, 0, 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess last parameter should be true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it shouldn't. The last parameter is itemColumnIndex
, which is unsigned int
.
Add output of the support value for Association Rules
Illustrate that "support" now can be calculated
Replace ASSERT with EXPECT and FAIL with ADD_FAILURE in CheckSupportAndConfidence
ee0dac0
to
7981cad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve on behalf of Dmitriy Shcheka.
Add output of the support value for Association Rules