Slide 1

Slide 1 text

Scientific Computation and Data Visualization in Ruby @srijan #SrijanWW

Slide 2

Slide 2 text

Sameer Deshmukh github.com/v0dro @v0dro @srijan #SrijanWW

Slide 3

Slide 3 text

Ruby Science Foundation www.sciruby.com @sciruby @sciruby @srijan #SrijanWW

Slide 4

Slide 4 text

@srijan #SrijanWW

Slide 5

Slide 5 text

iruby notebook @srijan #SrijanWW

Slide 6

Slide 6 text

Browser based Ruby REPL for interactive computing. @srijan #SrijanWW

Slide 7

Slide 7 text

Runs in your browser Input cell – accepts Ruby code Output cell – can render HTML/CSS/JS @srijan #SrijanWW

Slide 8

Slide 8 text

@srijan #SrijanWW

Slide 9

Slide 9 text

nmatrix @srijan #SrijanWW

Slide 10

Slide 10 text

n­dimensional array object. Interface Ruby with high speed C libraries. @srijan #SrijanWW

Slide 11

Slide 11 text

require 'nmatrix' n = NMatrix.new( [2,2], [1,2,3,4], dtype: :float32, stype: :dense ) n[0,1] # => 2.0 @srijan #SrijanWW

Slide 12

Slide 12 text

Data Types :int8 :float32 :int16 :float64 :int32 :complex64 :int64 :complex128 @srijan #SrijanWW

Slide 13

Slide 13 text

Storage types Dense Dense matrix. List Sparse matrix type storing data as a linked list. Yale Sparse type storing data in the 'New Yale' format. @srijan #SrijanWW

Slide 14

Slide 14 text

NMatrix C API @srijan #SrijanWW

Slide 15

Slide 15 text

nmatrix nmatrix­ atlas nmatrix­ lapacke nmatrix­ fftw gsl @srijan #SrijanWW

Slide 16

Slide 16 text

nmatrix is coming to jruby! @srijan #SrijanWW

Slide 17

Slide 17 text

nyaplot @srijan #SrijanWW

Slide 18

Slide 18 text

interactive plotting tool for Rubyists. @srijan #SrijanWW

Slide 19

Slide 19 text

interactive HTML and JavaScript plots that can be displayed in your browser. @srijan #SrijanWW

Slide 20

Slide 20 text

@srijan #SrijanWW

Slide 21

Slide 21 text

Mapnya Nyaplot3D Bionya Map visualizations with inbuilt country charts. Three Dimensional interactive plots. Biology plots for visualizing relationships of genes. @srijan #SrijanWW

Slide 22

Slide 22 text

gnuplotrb @srijan #SrijanWW

Slide 23

Slide 23 text

Ruby wrapper over GNU Plot. Convieniently exposes all GNU Plot functions through Ruby. @srijan #SrijanWW

Slide 24

Slide 24 text

require 'gnuplotrb' plot = GnuplotRB::Plot.new( [ [1,2.5,1.5,4], with: 'linespoints' ] ) @srijan #SrijanWW

Slide 25

Slide 25 text

@srijan #SrijanWW

Slide 26

Slide 26 text

require 'gnuplotrb' plot = GnuplotRB::Plot.new( [ [1,2.5,1.5,4], with: 'linespoints' ], [ [2,3,4.3,3], with: 'lines' ] ) @srijan #SrijanWW

Slide 27

Slide 27 text

@srijan #SrijanWW

Slide 28

Slide 28 text

statsample @srijan #SrijanWW

Slide 29

Slide 29 text

@srijan #SrijanWW library for statistical analysis and modelling.

Slide 30

Slide 30 text

@srijan #SrijanWW Extensions for Generalized Linear Models and TimeSeries apart from statistical tests and models.

Slide 31

Slide 31 text

daru (Data Analysis in RUby) @srijan #SrijanWW

Slide 32

Slide 32 text

daru == (Hindi) ददार @srijan #SrijanWW

Slide 33

Slide 33 text

library for analysis, cleaning, manipulation and visualization of data. @srijan #SrijanWW

Slide 34

Slide 34 text

Read/write many data sources Ephemeral statistics functions Works well with 'wild' data Data indexing @srijan #SrijanWW

Slide 35

Slide 35 text

Acts as glue between other SciRuby libraries. @srijan #SrijanWW

Slide 36

Slide 36 text

Daru::Vector Heterogenous Array that can be indexed on any Ruby object. Name Label(0) Label(1) Label(2) ... Label(n-1) @srijan #SrijanWW

Slide 37

Slide 37 text

Daru::DataFrame 2D spreadsheet like data structure indexed by rows or columns. Col0 Label(0) Label(1) Label(2) ... Label(n-1) Col1 Col2 Col(n-1) .... @srijan #SrijanWW

Slide 38

Slide 38 text

Thank You Twitter: @v0dro GitHub: @v0dro @srijan #SrijanWW

Slide 39

Slide 39 text

Any questions?