Class: Datasets::Dataset
- Inherits:
-
Object
- Object
- Datasets::Dataset
- Includes:
- Enumerable
- Defined in:
- lib/datasets/dataset.rb
Direct Known Subclasses
AFINN, Adult, AozoraBunko, CIFAR, CLDRPlurals, CaliforniaHousing, Communities, EStatJapan::StatsData, Geolonia, Ggplot2Dataset, Hepatitis, HouseOfCouncillor, HouseOfRepresentative, ITACorpus, Iris, LIBSVM, LIBSVMDatasetList, LivedoorNews, MNIST, Mushroom, NagoyaUniversityConversationCorpus, PMJTDatasetList, Penguins, PenguinsRawData::SpeciesBase, PennTreebank, PostalCodeJapan, QuoraDuplicateQuestionPair, Rdataset, RdatasetList, Seaborn, SeabornList, SudachiSynonymDictionary, Wikipedia, WikipediaKyotoJapaneseEnglish, 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
#initialize ⇒ Dataset
Returns a new instance of Dataset.
14 15 16 |
# File 'lib/datasets/dataset.rb', line 14 def initialize = Metadata.new end |
Instance Attribute Details
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
13 14 15 |
# File 'lib/datasets/dataset.rb', line 13 def end |
Instance Method Details
#clear_cache! ⇒ Object
22 23 24 |
# File 'lib/datasets/dataset.rb', line 22 def clear_cache! cache_path.remove end |
#to_table ⇒ Object
18 19 20 |
# File 'lib/datasets/dataset.rb', line 18 def to_table Table.new(self) end |