machine-learning
machine-learning copied to clipboard
Create pytest unit test for logit regression
We need to create a pytest unit tests for our logit regression.
We need to determine an acceptable dataset, and segregate a randomized 2/3 of the data for training, and remaining 1/3 for testing. The unit test, should test if the predicted values is within acceptable tolerance.
The unit tests may check the probability, among other logit characteristics: