Module: Datasets

Defined in:
lib/datasets/iris.rb,
lib/datasets/lazy.rb,
lib/datasets/wine.rb,
lib/datasets/adult.rb,
lib/datasets/afinn.rb,
lib/datasets/cifar.rb,
lib/datasets/error.rb,
lib/datasets/mnist.rb,
lib/datasets/table.rb,
lib/datasets/libsvm.rb,
lib/datasets/dataset.rb,
lib/datasets/license.rb,
lib/datasets/seaborn.rb,
lib/datasets/version.rb,
lib/datasets/diamonds.rb,
lib/datasets/geolonia.rb,
lib/datasets/metadata.rb,
lib/datasets/mushroom.rb,
lib/datasets/penguins.rb,
lib/datasets/rdataset.rb,
lib/datasets/hepatitis.rb,
lib/datasets/wikipedia.rb,
lib/datasets/cache-path.rb,
lib/datasets/dictionary.rb,
lib/datasets/downloader.rb,
lib/datasets/ita-corpus.rb,
lib/datasets/communities.rb,
lib/datasets/aozora-bunko.rb,
lib/datasets/cldr-plurals.rb,
lib/datasets/e-stat-japan.rb,
lib/datasets/fuel-economy.rb,
lib/datasets/fashion-mnist.rb,
lib/datasets/livedoor-news.rb,
lib/datasets/penn-treebank.rb,
lib/datasets/zip-extractor.rb,
lib/datasets/ggplot2-dataset.rb,
lib/datasets/kuzushiji-mnist.rb,
lib/datasets/tar-gz-readable.rb,
lib/datasets/pmjt-dataset-list.rb,
lib/datasets/postal-code-japan.rb,
lib/datasets/california-housing.rb,
lib/datasets/libsvm-dataset-list.rb,
lib/datasets/sudachi-synonym-dictionary.rb,
lib/datasets/quora-duplicate-question-pair.rb,
lib/datasets/wikipedia-kyoto-japanese-english.rb,
lib/datasets/nagoya-university-conversation-corpus.rb

Defined Under Namespace

Modules: EStatJapan, PenguinsRawData, TarGzReadable Classes: AFINN, Adult, AozoraBunko, CIFAR, CLDRPlurals, CachePath, CaliforniaHousing, Communities, Dataset, Diamonds, Dictionary, Downloader, Error, FashionMNIST, FuelEconomy, Geolonia, Ggplot2Dataset, Hepatitis, ITACorpus, Iris, KuzushijiMNIST, LIBSVM, LIBSVMDatasetList, LazyLoader, License, LivedoorNews, MNIST, Metadata, Mushroom, NagoyaUniversityConversationCorpus, PMJTDatasetList, Penguins, PennTreebank, PostalCodeJapan, QuoraDuplicateQuestionPair, Rdataset, RdatasetList, Seaborn, SeabornList, SudachiSynonymDictionary, Table, Wikipedia, WikipediaKyotoJapaneseEnglish, Wine, ZipExtractor

Constant Summary collapse

LAZY_LOADER =
LazyLoader.new
SeabornData =

For backward compatibility

Seaborn
VERSION =
"0.1.7"
RdatasetsList =

For backward compatibility

RdatasetList
Rdatasets =

For backward compatibility

Rdataset

Class Method Summary collapse

Class Method Details

.const_missing(name) ⇒ Object



37
38
39
40
41
42
43
44
# File 'lib/datasets/lazy.rb', line 37

def const_missing(name)
  if LAZY_LOADER.exist?(name)
    LAZY_LOADER.load(name)
    const_get(name)
  else
    super
  end
end