Logistic Regression Model applied in python
To use this model, you only need to:
- Instantiate the model
- Train the model
- Predict values with the model
from logistic_regression_model import *
model = LogisticRegressionModel()
model.train(X_train, Y_train, X_test, Y_text) # refer to function for more details
model.predict(X)Please notice that you can also add more functionalities, such as save(), load() and etc.
To see how you can use this model with all its functionalities, refer to example.py.