/Logistic-Regression

Use Newton method to implement logistic regression and visualize experimental results

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Logistic-Regression

Use Newton method to implement logistic regression and visualize experimental results

1. Configuration Environment

IDE: Pycharm 2018 2.3 x64
Interpreter: Anaconda 3 (syntax is python 3.6)

2. How to run (Note: I have already done the initial configuration and you can run it directly)

(1) Modify the configuration file of config.cfg in the LogReg folder.
(2) Each parameter is separated by a comma (,)
(3) To generate the training set and test set, change the parameter in the main function of NewtonLR.py to "RAW".

Note:

Thanks for your reading at first! If you want to get more information or have any questions, please see my zhihu:
牛顿法实现逻辑回归(包含可视化) - Hallucination的文章 - 知乎 https://zhuanlan.zhihu.com/p/63305895