Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.5 KB

readme.md

File metadata and controls

46 lines (31 loc) · 1.5 KB

ML: Logistic Regression

Logistic Regression Algorithm with Usability in Python (06/2024)


Architecture:

Model Architecture

Details:

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.

Cost Function:

Função de custo

Using:

    # Backend Compilation
    $ cd ./backend
    $ make lib

    # Usage of the interface (class LogisticRegression)
    $ cd ./app
    $ pip install -r requirements.txt
    $ python3 main.py

Linkedin and Gmail

LinkedIn Gmail