Logistic Regression Algorithm with Usability in Python (06/2024)
1.0: From the code written in C, an object file is generated for each respective .c file.
- 1.1: With the generated object file, a dynamic library is created (linker).
- 1.2: The dynamic library created is then loaded in memory, and thus, the functions defined in .c files is now accessible in other programs.
2.0: The model parameters are adjusted by Gradient Descendent Algorithm.
3.0: The class can be imported and used in other files.
# Backend Compilation
$ cd ./backend
$ make lib
# Usage of the interface (class LogisticRegression)
$ cd ./app
$ pip install -r requirements.txt
$ python3 main.py