[RubyNLP | RubyML | RubyInterop]
Awesome Data Science with Ruby
Links and Resources for Data Processing and Analysis in Ruby
Data Science is a new "sexy" buzzword without specific meaning but often used to substitute Statistics, Scientific Computing, Text and Data Mining and Visualization, Machine Learning, Data Processing and Warehousing as well as Retrieval Algorithms of any kind.
This curated list comprises awesome tutorials, libraries, information sources about various Data Science applications using the Ruby programming language.
A lot of useful resources on this list come from the development by The Ruby Science Foundation, our contributors and our own day to day work on various data intensive applications. Read why this list is awesome.
β¨ Every contribution is welcome! Add links through pull requests or create an issue to start a discussion.
Follow us on Twitter
and please spread the word using the #RubyDataScience
hash tag!
Contents
- Ruby vs. Python vs. Julia vs. R
- Standing on the shoulders of giants
- Data Manipulation
- Distributed Computing
- Data Structures
- Data sets
- Statistics
- Numeric and Symbolic Computation
- Visualization
- Interactive Computing
- Input and Output
- Provisioning Infrastructure
- Machine Learning
- Articles, Posts, Talks, and Presentations
- Related resources
- Wait but why?
- License
Ruby vs. Python vs. Julia vs. R
Ruby | Python | Julia | R |
---|---|---|---|
Daru / Rover | Pandas | ||
NArray | NumPy |
Standing on the shoulders of giants
Ruby is (for now) not a Data Science centric language with a very large established library. Leveraging libraries from R, Python, and Julia helps Ruby to solve your tasks!
- pycall β Bridge into the Python world.
- rserve-client β Ruby connector for Rserve, R's binary server.
Data Manipulation
- kiba β lightweight Ruby ETL (Extract-Transform-Load) framework.
- jongleur β Workflow manager using DAG definitions to execute ETL tasks.
Distributed Computing
- ruby-spark β Ruby Interface to Apache Spark 1.x.x.
- jruby-spark β JRuby based bindings for Apache Spark.
Data Structures
- daru β Data Frame and Vector structures with comprehensive manipulating and visualization methods.
- Rover β Data Frame and Vector structures with comprehensive manipulating and visualization methods.
- numo-narray β n-dimensional Numerical Array for Ruby.
- nmatrix β dense and sparse linear algebra library for Ruby via SciRuby.
- kdtree β blazingly fast native 2d k-d tree.
- mdarray β
Array structure for
JRuby
. - spreadsheet β manipulation library for MS Excel spreadsheets.
- networkx β Ruby based NetworkX clone that handles various usecases of the Graph Data Structure.
- cumo β CUDA-aware numerical Array library with NArray similar interface.
Data sets
- rdatasets β Data sets available in R via Rdatasets.
- red-datasets β Growing collection of publicly available data sets such as CIFAR-10, Iris, MNIST etc.
Statistics
- rb-gsl β Ruby interface to the GNU Scientific Library. [dep: GLS]
- simple_stats β
Enumerable
patches for descriptive statistics. - enumerable-statistics β
fast implementation of descriptive statistics for the
Enumerable
module. - statsample β basic and advanced statistics for Ruby. [dep: GLS]
- statsample-glm β
extension of
statsample
by Generalized Linear Models. - statsample-bivariate-extension β
extension of
statsample
by Bivariate Correlations. - statsample-timeseries β
extension of
statsample
by Time Series estimators. - pca β Principal Component Analysis (PCA) in Ruby.
- descriptive-statistics β
descriptive extensions for the
Enumerable
module or standalone usage. - distribution β probabilistic distributions and descriptive measures for them.
- statistics2 β Normal, Chi-square, t- and F- probability distributions for Ruby.
- fast_statistics β fast computation of descriptive statistics (min, max, mean, median, 1st and 3rd quartiles, population standard deviation) for a multivariate dataset.
Numeric and Symbolic Computation
- numo-linalg β linear algebraic operations for NArray.
- numo-gsl β Math and Statistics for NArray using GSL.[dep: GSL]
- symengine β Symbolic Computation with SymEngine.
- numo-ffte β Fast Fourier Transformation for NArray using the FFTE package.[FFTE]
Visualization
Comprehensive tools for Data Visualization.
- matplotlib β Ruby based wrapper around matplotlib. [dep: matplotlib]
- mathematical β PNG and MathML renderings for your equations.
- daru-view β daru-view is interactive plotting gem for web application (any Ruby web application framework like Rails/Sinatra/Nanoc/Hanami) & IRuby notebook. It is a plugin gem for daru.
- daru-plotly β Plotly based visualization for Daru.
- benchmark-plot
- Vega β Vega and Vega-lite based visualization for Rover.
- Gruff β graphing library built on top of rmagick.
- Rubyplot β graphing library built on top of GR.
- Nyaplotjs
- nyaplot
- gnuplotrb
- ruby-graphviz [dep: Graphviz]
- gnuplot [dep: gnuplot]
- https://github.com/zuhao/plotrb
- https://github.com/brasten/scruffy
- https://github.com/zverok/worldize
- https://github.com/masa16/ruby-mathgl
- numo-gnuplot β gnuplot interface for the Numo package.
- chartkick β Create beautiful JavaScript charts with one line of Ruby.
- iruby-chartkick β Use chartkick within IRuby-backed jupyter notebooks
- ruby-gr β Ruby interface to GR, a framework for visualisation applications. [dep: GR]
Interactive Computing
- iruby β Ruby kernel for Jupyter.
- iruby-rails β Integration library for IRuby and Rails.
- jupyter_on_rails β Another integration library for IRuby and Rails.
Input and Output
General formats
- https://github.com/fiksu/rcsv
- ox β Optimized for speed XML parser and object marshaller.
- oj β High-speed JSON parser.
- Markdown
- Nokogiri
- CSV
Database Adapters
- pg
- Mongo
- MySQL
Domain specific formats
- BibTeX
- inih β fast C based INI parser for Ruby.
- bolognese β conversion tool for citation formats like BibTeX, RIS, or Crossref XML.
Provisioning Infrastructure
- https://github.com/mrkn/gpu-instance
- https://github.com/mrkn/computing_node
- https://github.com/k1LoW/awspec
Machine Learning
Please look at our extensive Awesome ML with Ruby list.
Articles, Posts, Talks, and Presentations
- 2019
- Parallelising ETL workflows with the Jongleur gem by Fred Heath [post]
- 2018
- 2017
- Progress of Ruby-Numo: Numerical Computing for Ruby by Masahiro Tanaka [slides]
- Chartkick: data visualization made easy with Ruby by Govind Unnikrishnan [post]
- Development of Data Science Ecosystem for Ruby by Kenta Murata [slides | video | page]
- 2016
- Scientific Computation and Data Visualization with Ruby by Sameer Deshmukh [slides | video]
- 2015
- 2014
- 2013
- Seeing the Big Picture: Quick and Dirty Data Visualization with Ruby by Aja Hammerly [video | slides | code]
- 2012
- 2011
- 2010
- NArray and scientific computing with Ruby by Masahiro Tanaka [video | slides]
Community
- https://gitter.im/red-data-tools/en
- https://gitter.im/red-data-tools/ja
- http://ruby-data.org/
- https://twitter.com/RubyData
- https://discourse.ruby-data.org/
Related resources
- Awesome Data Science with Python
- ImageMagick
- GSL
- FFTE
- SymEngine
- Awesome Big Data - awesome curated list on all around Big Data.
- Awesome Spark β awesome list on Apache Spark goodies.
Wait but why?
There are a lot of software lists with tools related to the Data Science. There are a couple of lists with Ruby related projects. There are no lists of only working and tested software with documented scope. We'll try to make one!
What is awesome? Awesome are documented, maintained and focused tools.
Can something turn not awesome at a point? Yes! Abandoned projects with broken dependencies aren't awesome any more! They leave this list.
License
Awesome Data Science with Ruby
by Andrei Beliankou and
Contributors.
To the extent possible under law, the person who associated CC0 with
Awesome Data Science with Ruby
has waived all copyright and related or neighboring rights
to Awesome Data Science with Ruby
.
You should have received a copy of the CC0 legalcode along with this work. If not, see https://creativecommons.org/publicdomain/zero/1.0/.