Torchlib

wercker status codecov

View documentation.

Data structures and libraries for Torch. All instances are Torch serializable with torch.save and torch.load.

Installation

You can install torchlib as follows:

git clone https://github.com/vzhong/torchlib.git && cd torchlib && luarocks make

Torchlib is namespaced locally. To use it:

local tl = require 'torchlib'

local m = tl.DirectedGraph()
...

Examples and use cases are shown in the documentation.

Documentation

The documentation is hosted here. Alternatively you can build your own documentation with docroc, which you can get here.

Overview

Torchlib's can be divided into categories based on usecases.

Basic Datastructures and Algorithms

Machine Learning

The machine learning package contains utilities that facilitate the training of and evaluation of machine learning models. These include:

Utilities

Contribution

Pull requests are welcome! Torchlib is unit tested with the default Torch testing framework. Continuous integration is hosted on Wercker which also automatically builds the documentations and deploys them on Github pages (of this repo).