Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.
/ model_api Public archive

C++ library for wrapping Python3 predictive models (e.g based in scikit-learn or tensorflow). The code in this repo. is part of the implementation of a light stream processing application to analyze system's logs (some kind of HIDS) that is currently in development.

License

Notifications You must be signed in to change notification settings

rialg/model_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

model_api

Total alerts Language grade: Python

C++ library for wrapping Python3 predictive models (e.g based in scikit-learn or tensorflow). The code in this repo. is part of the implementation of a light stream processing application to analyze system's logs (some kind of HIDS) that is currently in development.

System requirements

  • OS Used in development: Ubuntu 18.04
  • Additional system information: Linux 4.18.0-21-generic #22~18.04.1-Ubuntu SMP Thu May 16 15:07:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
  • External dependencies: Boost.Python, Boost.Python (Numpy) and pip3
    $ sudo apt-get install -y libboost-python-dev libboost-numpy-dev python3-pip python3-venv

Usage

    $ make
    $ sudo make install

For testing predictive model induced with scikit-learn's K-NN

    $ make example EXAMPLE=0
    $ source src/module_1/bin/activate
    $ ./example.bin 0
    $ deactivate

For testing predictive model induced with tensorflow's K-NN

    $ make example EXAMPLE=1
    $ source src/module_2/bin/activate
    $ ./example.bin 1
    $ deactivate

API documentation

Please refer to this page.

Pending:

  1. Make it cross-platform
  2. Unit tests

About

C++ library for wrapping Python3 predictive models (e.g based in scikit-learn or tensorflow). The code in this repo. is part of the implementation of a light stream processing application to analyze system's logs (some kind of HIDS) that is currently in development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •