Skip to content

DanieleDallOlio/scorer

 
 

Repository files navigation

Authors Project Build Status Latest Version License
N. Curti scorer Linux/MacOS : travis
Windows : appveyor
version license

GitHub pull-requests GitHub issues

GitHub stars GitHub watchers

Machine Learning Scorer

Optimization and extension of the PyCM library with c++ support and network dependencies.

  1. Getting Started
  2. Prerequisites
  3. Usage
  4. Contribution
  5. Authors

Getting Started

To build the project you can use the Makefile or the CMake.

In the first case you can see the whole set of available rules just typing make and make example to build the example script in c++ or make pythonic to build the Cython version of the code.

The builds scripts (.sh and .ps1) allows to build the project with CMake support.

For a manual installation of pythonic version you can also run the setup script as python setup.py build_ext --inplace.

Prerequisites

To build the c++ version of the code the standard c++17 support is required.

The OMP version of the code is automatically available if OMP is installed.

The full list of prerequisites of pythonic version is listed in requirements.

Usage

You can use the libraries either inside your c++ project with a simple include of the scorer script or with python in which the scorer class is wrapped to give a simple dictionary in return.

If you use the c++ version PAY ATTENTION to the parallel environment (open the parallel region before the run of scorer computation as shown in the example code).

In utils some utilities scripts are reported. The build_scorer.py allows to write the complete parallel version of the scorer class in c++ so that if you add a new operator to the library you can just run this code to update the scorer class parallelization strategies (computed in dependency_graphs.py script).

With view_stats.py script you can see the complete graph of computed statistics with an HTML support with a more pleasant vision (ex. graph)

Contribution

Any contribution is more than welcome. Just fill an issue or a pull request and I will check ASAP!

If you want update the list of scorer functions please pay attention to the syntax of the operator and to the names of variables used to prevent the compatibility with python utilities scripts.

Authors

See also the list of contributors GitHub contributors who participated in this project.

Releases

No releases published

Packages

No packages published

Languages

  • HTML 67.0%
  • C++ 14.9%
  • Python 9.0%
  • CMake 7.8%
  • Makefile 1.2%
  • PowerShell 0.1%