jeff1evesque / machine-learning

Web-interface + rest API for classification and regression (https://jeff1evesque.github.io/machine-learning.docs)
Other
258 stars 85 forks source link

Create pytest unit test for logit regression #3257

Open jeff1evesque opened 6 years ago

jeff1evesque commented 6 years ago

We need to create a pytest unit tests for our logit regression.

jeff1evesque commented 6 years ago

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.

jeff1evesque commented 6 years ago

The unit tests may check the probability, among other logit characteristics:

Week9_SensitivityAnalysisTitanicCompleted_2_2_2_2.xlsx