Class: Datasets::Iris
Defined Under Namespace
Classes: Record
Instance Attribute Summary
Attributes inherited from Dataset
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize ⇒ Iris
constructor
A new instance of Iris.
Methods inherited from Dataset
Constructor Details
#initialize ⇒ Iris
Returns a new instance of Iris.
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/datasets/iris.rb', line 13 def initialize super() @metadata.id = "iris" @metadata.name = "Iris" @metadata.url = "https://archive.ics.uci.edu/ml/datasets/Iris" @metadata.licenses = ["CC-BY-4.0"] @metadata.description = lambda do read_names end end |