chekaru / Current

C++ framework for realtime machine learning.

Home Page:https://medium.com/dima-korolev/current-for-realtime-machine-learning-4f04aa8ab81a

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Current Travis Semaphore

The type system used in Current framework.

The language to define continuous data pipelines.

Structured, append-only, immutable data persistence layer with publish-subscribe.

An efficient convex optimization engine.

Low-level compact persistence layer with 1+ GB/s throughput.

An extensible event collecting HTTP server.

HTTP server and client, efficient in-memory message queue, persistence layer, streaming API interface.

JSON and binary serialization, string manipulation library, command line flags library, and other core pieces.

Storage layer with super easy to use in-memory data views and Stream-based persistence.

Compact and autogenerated C++ framework to evolve objects from one type hierarchy into another type hierarchy while remaining fully within the strong typing paradigm.

Contribution

Welcome, contributors! Please start here by signing the CLA.

Quick Start

Install the development dependencies

  • nasm for FnCAS.
    • macOS: brew install nasm
  • geninfo from lcov for coverage report.
    • macOS: brew install lcov
  • clang-format-3.6 for code formatting (make indent).
    • macOS: Only clang-format-3.8 is available via Homebrew: brew install clang-format@3.8 && ln -s /usr/local/bin/clang-format-3.6 /usr/local/opt/clang-format@3.8/bin/clang-format (pretend we've got 3.6)

Clean the output of the previous builds

make clean

Run the tests

Builds and runs all the tests as a single binary. Slow, eats up tons of CPU, but measures coverage. Consider make individual_tests or make test within individual directories to run the subset of tests.

make test

Builds and runs the tests for each module separately:

make individual_tests

Builds and runs the tests for one of the modules (e.g. blocks/http):

(cd blocks/http && make test)

Verify the code

"Builds" all header files individually, twice each header file, and "links" these pairs together. Ensures no symbols are exported, and the ODR will not be violated when linking together two objects, each of which is independently using Current.

make check

About

C++ framework for realtime machine learning.

https://medium.com/dima-korolev/current-for-realtime-machine-learning-4f04aa8ab81a


Languages

Language:C++ 95.6%Language:Shell 1.2%Language:TypeScript 0.7%Language:Objective-C++ 0.7%Language:JavaScript 0.5%Language:C 0.4%Language:Objective-C 0.4%Language:HTML 0.2%Language:Makefile 0.1%Language:F# 0.1%