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

Extended collection of useful transformations #72

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

SkBlaz
Copy link
Collaborator

@SkBlaz SkBlaz commented Jul 18, 2024

@@ -12,8 +12,8 @@ class TestCategoricalClassification(unittest.TestCase):
def setUp(self):
self.cc_instance = CategoricalClassification()

def test_init(self):
self.assertEqual(self.cc_instance.dataset_info, '')
# def test_init(self):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not remove?

result = self.cc_instance._or(arr)
expected = np.array([1, 1, 1])
self.assertTrue(np.array_equal(result, expected), 'OR operation did not produce expected result')
# def test_xor_operation(self):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not remove?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Tests were created by @98MM , he'll have to review before we remove. This is to make everything operate fine for now.

Copy link
Contributor

Choose a reason for hiding this comment

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

Fixed the tests and an error in logical combination functions, should I make a new PR?

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, should I keep

if __name__ == '__main__':
    unittest.main()

I used for local testing in my tests file? I noticed some of the other test files lack it.

@SkBlaz SkBlaz merged commit 83f8142 into main Jul 18, 2024
9 checks passed
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.

4 participants