Giter Site home page Giter Site logo

snort3 / libml Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 1.0 90.67 MB

LibML is a library for loading, configuring, and running machine learning models in production. It provides a simple high-level API for C++ applications. LibML uses TensorFlow with XNNPACK acceleration for low latency inference.

CMake 59.07% Shell 6.97% C++ 33.96%

libml's Introduction

LibML

Description

LibML is a library for loading, configuring, and running machine learning models in production. It provides a simple high-level API for C++ applications. LibML uses TensorFlow with XNNPACK acceleration for low latency inference.

Install

./configure.sh
cd build
sudo make -j$(nproc) install

Examples

Binary Classifier

BinaryClassifier classifier;

if(!classifier.buildFromFile(model_path))
    return 1;

float output = 0.0;

if(!classifier.run(input, input_size, output))
    return 1;

std::cout << "output: " << output << "%\n";

Build Dependencies

  • CMake
  • C++ Compiler

libml's People

Stargazers

Aiminsun avatar  avatar gongping avatar Miguel Álvarez avatar Ankur Tyagi avatar hirak0 avatar  avatar John Magdy Lotfy Kamel avatar

Watchers

Russ Combs avatar prbg avatar

Forkers

nareke734

libml's Issues

More details about using the library

Good morning,

I am undertaking my master's degree in the area of ​​machine learning applied to intrusion detection systems such as snort. I believe it will be very useful to use this library to integrate my project with snort. Could the maintainers recommend me more sources of material so that I can carry out this development. Is there a plan to detail the documentation in the near future? Congratulations to the Talos team for the initiative in creating this library that will facilitate the addition of new features to snort.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.