The unit test are included for the SROM and Kriging classes in the 'tests' directory. These tests provide 95% code coverage for Kriging class and 100% code coverage for SROM class.
Description
There were few redundant error checks in the SROM, those have been removed. Also, Kriging class is updated to handle 'random_state' attribute properly.
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:
[x ] Bug fix (non-breaking change which fixes an issue)
[x ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
Go over all the following points, and put an x in all the boxes that apply.
If you're unsure about any of these, don't hesitate to ask. We're here to help!
[ x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Code Coverage (SROM 100% and Kriging 95%)
The unit test are included for the SROM and Kriging classes in the 'tests' directory. These tests provide 95% code coverage for Kriging class and 100% code coverage for SROM class.
Description
There were few redundant error checks in the SROM, those have been removed. Also, Kriging class is updated to handle 'random_state' attribute properly.
Types of changes
What types of changes does your code introduce? Put an
x
in all the boxes that apply:Checklist:
Go over all the following points, and put an
x
in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!