red-data-tools / red-datasets

A RubyGem that provides common datasets
MIT License
30 stars 25 forks source link

Data types. Numo::NArray #45

Closed kojix2 closed 5 years ago

kojix2 commented 5 years ago

I want to use dataset as Numo::NArray class object.

Easy but a complicated problem. (I am a supporter of NArray not in a neutral position.)

I think that red-datasets is the gem for machine learning. In machine learning, you will use Numo:: NArray NArray, NMatrix, or Cumo. Not Ruby Array, Ruby Matrix, because they are slow.

Why NArray?

I know the above. Everyone loves matrices calculation libraries that they create. I can not make libraries. I'm a consumer just playing with their toys.

There is not much reason. I simply like NArray.

Thank you.

kou commented 5 years ago

It's a nice-to-have feature. We should support Numo::NArray as a Red Datasets extension such as https://github.com/red-data-tools/red-datasets-gdk-pixbuf, https://github.com/red-data-tools/red-datasets-daru and https://github.com/red-data-tools/red-datasets-arrow.

kou commented 5 years ago

Done: https://github.com/red-data-tools/red-arrow-numo-narray