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:
=

安装:
=

版本列表:

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

Runtime 依赖 (2):

csv ~> 3.3
gruff ~> 0.29

Development 依赖 (2):

minitest ~> 5.0
rake ~> 13.0

所有者:

推送者:

作者:

  • jtvaldivia

SHA 256 校验和:

=

下载总量 394

这个版本 212

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 3.2.0

链接: