Ruby ML for Python Coders

Curious to try machine learning in Ruby? Here’s a short cheatsheet for Python coders.

Data structure basics

Libraries

This list is by no means comprehensive. Many Ruby libraries are ones I created, as mentioned here.

If you’re planning to add Ruby support to your ML library:

Category Python Ruby FFI (native) ctypes Fiddle FFI (library) cffi FFI C++ extensions pybind11 Rice Compile to C Cython Rubex

Give Ruby a shot for your next maching learning project!

Updates