Scientific Computing in Ruby. RDRC 2016.

Scientific Computing in Ruby. RDRC 2016.

Talk on Scientific Computing in Ruby at Red Dot Ruby Conf 2016, Singapore.

5083e35c5075b75473919524286239b3?s=128

Sameer Deshmukh

June 24, 2016
Tweet

Transcript

  1. namaste

  2. Me

  3. Who Am I?

  4. Sameer Deshmukh github.com/v0dro @v0dro

  5. Incredible India

  6. None
  7. None
  8. None
  9. None
  10. City of Pune. Population: 6 million. Oxford of the East.

  11. None
  12. Dr. Gopal Deshmukh Sameer Desmukh Dr. Hemchandra Deshmukh Dr. Satish

    Deshmukh
  13. www.soundcloud.com/catkamikazee Sameer

  14. Ruby Science Foundation www.sciruby.com @sciruby @sciruby

  15. None
  16. Scientific Computing In Ruby

  17. iruby notebook

  18. Browser based Ruby REPL for interactive computing.

  19. Runs in your browser Input cell – accepts Ruby code

    Output cell – can render HTML/CSS/JS
  20. None
  21. nmatrix

  22. n­dimensional array object. Interface Ruby with high speed C libraries.

  23. require 'nmatrix' n = NMatrix.new( [2,2], [1,2,3,4], dtype: :float32, stype:

    :dense ) n[0,1] # => 2.0
  24. Data Types :int8 :float32 :int16 :float64 :int32 :complex64 :int64 :complex128

  25. 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.
  26. NMatrix C API

  27. nmatrix nmatrix­ atlas nmatrix­ lapacke nmatrix­ fftw gsl

  28. nmatrix is coming to jruby!

  29. nyaplot

  30. interactive plotting tool for Rubyists.

  31. interactive HTML and JavaScript plots that can be displayed in

    your browser.
  32. None
  33. Mapnya Nyaplot3D Bionya Map visualizations with inbuilt country charts. Three

    Dimensional interactive plots. Biology plots for visualizing relationships of genes.
  34. daru (Data Analysis in RUby)

  35. daru == (Hindi) ददार

  36. library for analysis, cleaning, manipulation and visualization of data.

  37. Read/write many data sources Ephemeral statistics functions Works well with

    'wild' data Data indexing
  38. Acts as glue between other SciRuby libraries.

  39. Daru::Vector Heterogenous Array that can be indexed on any Ruby

    object. Name Label(0) Label(1) Label(2) ... Label(n-1)
  40. 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) ....
  41. Cool SciRuby Stickers

  42. Thank You Red Dot Ruby Conf

  43. I will answer your questions in my own childish ways.