Class: Datasets::Dataset
- Inherits:
-
Object
- Object
- Datasets::Dataset
- Includes:
- Enumerable
- Defined in:
- lib/datasets/dataset.rb
Direct Known Subclasses
Adult, CIFAR, CLDRPlurals, Communities, EStatJapan::StatsData, Hepatitis, Iris, LIBSVM, LIBSVMDatasetList, MNIST, Mushroom, Penguins, PenguinsRawData::SpeciesBase, PennTreebank, PostalCodeJapan, Rdatasets, RdatasetsList, SeabornData, SudachiSynonymDictionary, Wikipedia, Wine
Instance Attribute Summary collapse
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
Instance Method Summary collapse
- #clear_cache! ⇒ Object
-
#initialize ⇒ Dataset
constructor
A new instance of Dataset.
- #to_table ⇒ Object
Constructor Details
Instance Attribute Details
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
12 13 14 |
# File 'lib/datasets/dataset.rb', line 12 def @metadata end |
Instance Method Details
#clear_cache! ⇒ Object
21 22 23 24 25 |
# File 'lib/datasets/dataset.rb', line 21 def clear_cache! if cache_dir_path.exist? FileUtils.rmtree(cache_dir_path.to_s, secure: true) end end |