UMAP clustering in Ruby

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SonarCloud - Analyze your C and C++ projects with just one click.
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Mergify - Updating dependencies is time-consuming.
  • umap

    Uniform Manifold Approximation and Projection

    Uniform Manifold Approximation and Projection (UMAP) is a well-known dimensionality reduction method along with t-SNE.

  • Rumale

    Rumale is a machine learning library in Ruby

    Ruby users often use Rumale for machine learning. t-SNE is included in Rumale, but UMAP is not.

  • SonarCloud

    Analyze your C and C++ projects with just one click.. SonarCloud, a cloud-based static analysis tool for your CI/CD workflows, offers a one-click automatic analysis of C and C++ projects hosted on GitHub. Zero configuration and free for open-source projects! Analyze free.

  • umappp

    UMAP C++ implementation

    Since the Ruby language is a relatively minor language in the field of data analysis, it is often the case that a library that implements what you want to do does not exist. In such cases, you can look for libraries in languages such as C or Rust to build Ruby bindings. GitHub's search allows you to search for code by language. This can be used to find libraries for C. Since GitHub allows tagging of projects, searching for the target tag can also be helpful. However, UMAP seems to be difficult to implement, and I could not find a C library that implements UMAP. Instead, we found a library that implements UMAP in C++. That is Umappp.

  • ruby-umappp

    Uniform Manifold Approximation and Projection for Ruby

    GitHub: https://github.com/kojix2/ruby-umappp

  • uwot

    An R package implementing the UMAP dimensionality reduction method.

    Umappp is a C++ library implemented by Aaron Lun. it is developed based on the R library uwot. it is implemented in C++ and uses OpenMP, so high performance is expected.

  • rice

    Ruby Interface for C++ Extensions (by jasonroelofs)

    There are two ways to write Ruby extensions in C++. One is Rice and the other is extpp. In this case, I used Rice because I wanted to use numo.hpp to link Numo::NArray and C++.

  • extpp

    C++ Ruby extension API

    There are two ways to write Ruby extensions in C++. One is Rice and the other is extpp. In this case, I used Rice because I wanted to use numo.hpp to link Numo::NArray and C++.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • numo.hpp

    C++ header for Numo and Rice

    There are two ways to write Ruby extensions in C++. One is Rice and the other is extpp. In this case, I used Rice because I wanted to use numo.hpp to link Numo::NArray and C++.

  • numo-narray

    Ruby/Numo::NArray - New NArray class library

    There are two ways to write Ruby extensions in C++. One is Rice and the other is extpp. In this case, I used Rice because I wanted to use numo.hpp to link Numo::NArray and C++.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts