Class: Datasets::Wine
Defined Under Namespace
Classes: Record
Instance Attribute Summary
Attributes inherited from Dataset
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize ⇒ Wine
constructor
A new instance of Wine.
Methods inherited from Dataset
Constructor Details
#initialize ⇒ Wine
Returns a new instance of Wine.
22 23 24 25 26 27 28 29 |
# File 'lib/datasets/wine.rb', line 22 def initialize super @metadata.id = 'wine' @metadata.name = 'Wine' @metadata.url = 'https://archive.ics.uci.edu/ml/datasets/wine' @metadata.licenses = ["CC-BY-4.0"] @metadata.description = -> { read_names } end |