Coder Social home page Coder Social logo

model-vis's Introduction

model-vis

Tooling to visualize outputs of data models, in OCaml.

img

Introduction

This library is a very early prototype to ease visualization of models trained from data, in OCaml. It aims to automatically generate good plots for your models given their specific features and outputs, with little to no tuning parameters required.

Requirements

  • plplot
  • oml
  • gpr (optional, for plotting integration)

Installation

Clone the repository and from the working directory run

opam pin -y add .

Usage

The abstraction rests on a data frame type of interface, like you'd see in R, but done in an OCaml style to minimize explicit array indexing in user space.

Data for plotting is driven by consuming generators or parsing csv files, but safely within the typed frame.

Some default generators are provided which will sample reasonable values base on user declared ranges or sets of points.

In the case where only test data is given, the models are integrated into the process to provide output values. At the moment only the gaussian process regression model is supported, but the intention is to add tensorflow and oml to the list.

Please view the examples package for more details, which generates a surface plot of the squared sum of two gaussianly distributed values.

model-vis's People

Contributors

struktured avatar

Stargazers

Weldhapi avatar Huang avatar Seb Mondet avatar

Watchers

 avatar

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.