RubyGems Navigation menu

ruby_scientist_and_graphics 0.1.1

Ruby Scientist and Graphics is a practical data science toolkit for Ruby. It includes a lightweight built-in DataFrame for loading, cleaning, and transforming data; quick descriptive statistics and correlations; charting via Gruff (bar and line); and simple ML utilities (linear regression and k-means)—all behind a small, unified, pandas-inspired API. Key features: - Load data from CSV and JSON. - Clean and transform (remove/add columns, handle missing values, limit rows). - Describe datasets and compute correlations quickly. - Create bar and line charts with customization options. - Train/predict with linear regression; cluster with k-means. - Save/load project state (data + trained model) and run simple pipelines. - Optional backend adapters (e.g., Rover) while keeping the same API. Ideal for analysts and developers who want to explore data in Ruby without relying on Python or R. Note: plotting via Gruff uses rmagick, which requires ImageMagick installed on the system.

Gemfile:
=

install:
=

Versions:

  1. 0.1.1 August 10, 2025 (16 KB)
  2. 0.1.0 August 10, 2025 (16 KB)

Runtime Dependencies (2):

csv ~> 3.3
gruff ~> 0.29

Development Dependencies (2):

minitest ~> 5.0
rake ~> 13.0

Owners:

Pushed by:

Authors:

  • jtvaldivia

SHA 256 checksum:

=

Total downloads 378

For this version 203

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

Links: