Practice python OOP by completing the implementation. Details on Canvas. Files are as follows:
Code for 2-class Logistic Regression:
- classifier.py -- the base class for all classifiers
- logistic_regression.py -- implementation of logistic regression in python, mostly from Machine Learning in Action
- test_logistic_regression_vs_synthetic_data.py -- functions to read and plot the data and the best-fit line from logistic regression
Data for 2-class Logistic Regression
- testSet.txt -- a synthetic dataset
- verify.txt -- a subset of the above, for demo only