Class: Datasets::Dataset
- Inherits:
-
Object
- Object
- Datasets::Dataset
- Includes:
- Enumerable
- Defined in:
- lib/datasets/dataset.rb
Direct Known Subclasses
Adult, CIFAR, Iris, LIBSVM, LIBSVMDatasetList, MNIST, Mushroom, PennTreebank, PostalCodeJapan, Wikipedia, Wine
Instance Attribute Summary collapse
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
Instance Method Summary collapse
-
#initialize ⇒ Dataset
constructor
A new instance of Dataset.
- #to_table ⇒ Object
Constructor Details
#initialize ⇒ Dataset
Returns a new instance of Dataset.
12 13 14 |
# File 'lib/datasets/dataset.rb', line 12 def initialize = Metadata.new end |
Instance Attribute Details
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
11 12 13 |
# File 'lib/datasets/dataset.rb', line 11 def end |
Instance Method Details
#to_table ⇒ Object
16 17 18 |
# File 'lib/datasets/dataset.rb', line 16 def to_table Table.new(self) end |