Skip to content

Welcome to Algone Library

Algone is a machine learning and data science library written in C.

Contributions are open and welcome for every one 😁

Organisation of the documentation

  • Get started - Get an overview of how the library works.
  • Documentation - Discover all things Algone made possible.
  • Tutorials - Learn step by step how to solve toy machine learning problems.
  • References - Get the description of all available elements in Algone library.
  • Download - Download the library.

Get started

Installation

Please, don't use Algone in production. The library comes with any guarantee that it will work properly.

  1. Follow the Download link and extract the archive.
  2. Put header files in a folder and the libalgone.a in another one.
  3. Include the algone.h header by writting #include "algone.h"
  4. Specify folders where headers and lib are installed in your compilation command.

Load Data

First, we must have data to train our neural network. You can load data from a CSV using the function ALG_ReadCSV.

#include "algone.h"

ALG_DataFrame = ALG_ReadCSV("path/to/your/file.csv");

Create the network

Algone have a multiple ways to create a neural network. In this example we start with a bare neural network.

ALG_Network* n = ALG_CreateBareNetwork(10);