GithubHelp home page GithubHelp logo

jimhester / largevis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elbamos/largevis

0.0 2.0 0.0 253.97 MB

An implementation of the largeVis algorithm for visualizing large, high-dimensional datasets, for R

R 9.26% HTML 81.80% C++ 8.94%

largevis's Introduction

largeVis

Travis-CI Build Status Coverage Status https://gitter.im/elbamos/largeVis AppVeyor Build Status

This is an implementation of the largeVis algorithm described in (https://arxiv.org/abs/1602.00370). It also incorporates:

  • A very fast algorithm for estimating k-nearest neighbors, implemented in C++ with Rcpp and OpenMP. See the Benchmarks file for performance details.
  • Efficient implementations of the clustering algorithms:
    • HDBSCAN
    • OPTICS
    • DBSCAN
  • Functions for visualizing manifolds like this.

News Highlights

  • Version 0.1.10 re-adds clustering, and also adds momentum training to largeVis, as well as a host of other features and improvements.
  • Version 0.1.9.1 has been accepted by CRAN. Much grattitude to Uwe Ligges and Kurt Hornik for their assistance, advice, and patience.

Some Examples

MNIST

Wiki Words

Clustering With HDBSCAN

Visualize Embeddings

Visualize Embeddings

Building Notes

  • The CRAN binaries are likely to have been compiled with 32-bit ARMA objects, and without OpenMP on OS X.

  • To get 64-bit ARMA objects, add to ~.R/Makevars:

    R_XTRA_CXXFLAGS = -DARMA_64BIT_WORD
    

    and recompile from source. (devtools::install_github("elbamos/largeVis") will work).

  • Getting OpenMP support on OS X is a bit tricky. What I've done, is to install llvm (version 3.8 or later), and then add the following to ~.R/Makevars:

    SHLIB_OPENMP_CFLAGS = -fopenmp
    R_XTRA_CXXFLAGS = -DARMA_64BIT_WORD
    LDFLAGS =  ""-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"
    CPPFLAGS =  -I/usr/local/opt/llvm/include
    PATH = /usr/local/opt/llvm/bin:$PATH 
    
  • Recompile from source, as above.

largevis's People

Contributors

elbamos avatar bmschmidt avatar jimhester avatar laurae2 avatar

Watchers

James Cloos avatar  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.