Code Monkey home page Code Monkey logo

mlplots.jl's Introduction

MLPlots (deprecated)

Note: this package is out of date and not usable with newer versions of Julia.

Build Status

Common plotting recipes for statistics and machine learning.

This package uses RecipesBase to provide mappings from types defined in statistics and machine learning packages to generic descriptions of visualization attributes and data. These recipes can then be used in conjunction with Plots.jl to provide flexible statistical and machine learning visualizations which are independent of both the platform and graphical library.

Many recipes are conditionally included and are loaded on the relevant using call of the library. For example using ROCAnalysis, MLPlots will load plotting recipes for roc curves defined in ROCAnalysis. Recipes include:

Status: This package is currently on hiatus until further notice. Collaboration is welcomed and encouraged!

OnlineAI

Neural nets with OnlineAI.jl. Show the current state of a neural net:

using OnlineAI, MLPlots
net = buildClassificationNet(3, 1, [15,10,5])
plot(net)

onlineai1

For spiking neuron models, a spike (or raster) plot is useful to see firing times among neurons:

n = 20
spikes = SpikeTrains(n, title = "Spike Trains", color = :darkblue)
for t=1:100, i=1:n
    if rand() < 0.1
        push!(spikes, i, t)
    end
end
spikes.plt

onlineai

ROCAnalysis

ROCAnalysis.jl

using ROCAnalysis, MLPlots
curve = ROCAnalysis.roc(2+2randn(1000), -2+2randn(100000))
plot(curve)

rocanalysis

mlplots.jl's People

Contributors

diegozea avatar evizero avatar logankilpatrick avatar tbreloff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mlplots.jl's Issues

Require LearnBase

I will need to introduce a dependency on LearnBase. LearnBase in turn currently has an dependency on MLDatasets which is not yet ready for METADATA

this should do the trick for now:

Pkg.clone("https://github.com/Evizero/LearnBase.jl")

register in METADATA

Needs some good tests (use VisualRegressionTests?)... anything else holding this up?

TODO

I'll try to maintain a wishlist of plot recipes here.

  • Correlation Scatter Matrix (corrplot)
  • Error/loss tracking
  • Goodness of fit (with optional contours?)
  • ROC
  • ANN activations
  • Classification histograms
  • Spike trains
  • SVM plots

Coding standard

Would you mind if we switch to the standard Julia convention of using 4 spaces per tab. I also started out with 2 but recently switched to be more in line with the language conventions

Future of this package

A lot of recipes have now moved to their respective packages.

What do we want to do with this?

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.