#include <Dataset.hpp>
◆ Dataset() [1/2]
sgpp::datadriven::Dataset::Dataset |
( |
| ) |
|
Constructs an empty dataset (zero size).
◆ Dataset() [2/2]
sgpp::datadriven::Dataset::Dataset |
( |
size_t |
numberInstances, |
|
|
size_t |
dimension |
|
) |
| |
Constructs an empty dataset with given size.
- Parameters
-
numberInstances | number of instances in the dataset |
dimension | number of dimensions in the dataset |
◆ getData() [1/2]
- Returns
- training data of the dataset
References getData().
Referenced by sgpp::datadriven::LearnerSGDEOnOffParallel::assembleNextBatchData(), sgpp::datadriven::RosenblattTransformation::doInverseTransformation(), sgpp::datadriven::LearnerSGDEOnOffParallel::doRefinementForAll(), sgpp::datadriven::RosenblattTransformation::doTransformation(), sgpp::datadriven::ModelFittingClassification::fit(), sgpp::datadriven::ModelFittingDensityEstimationCG::fit(), sgpp::datadriven::ModelFittingDensityEstimationOnOff::fit(), sgpp::datadriven::LearnerSGDEOnOffParallel::getAccuracy(), sgpp::datadriven::SortedDataset::getData(), getData(), sgpp::datadriven::LearnerSGDEOnOffParallel::getError(), hpx_main(), sgpp::datadriven::RosenblattTransformation::initialize(), sgpp::datadriven::MetaLearner::learnAndTestString(), sgpp::datadriven::MetaLearner::learnReferenceString(), sgpp::datadriven::MetaLearner::learnString(), main(), sgpp::datadriven::MortonOrder::MortonOrder(), sgpp::datadriven::MortonOrder::orderDataset(), sgpp::datadriven::ARFFTools::readARFF(), sgpp::datadriven::CSVTools::readCSV(), sgpp::datadriven::CSVFileSampleProvider::readString(), sgpp::datadriven::ArffFileSampleProvider::readString(), sgpp::datadriven::ModelFittingLeastSquares::reset(), sgpp::datadriven::MortonOrder::restoreDataset(), sgpp::datadriven::LearnerSGDEOnOffParallel::splitBatchIntoClasses(), sgpp::datadriven::Scorer::test(), sgpp::datadriven::ModelFittingClassification::update(), sgpp::datadriven::ModelFittingDensityEstimationOnOff::update(), and sgpp::datadriven::ModelFittingDensityEstimationCG::update().
◆ getData() [2/2]
- Returns
- training data of the dataset
References data.
◆ getDimension()
size_t sgpp::datadriven::Dataset::getDimension |
( |
| ) |
const |
- Returns
- number of dimensions in the dataset
References dimension.
Referenced by sgpp::datadriven::LearnerSGDEOnOffParallel::assembleNextBatchData(), sgpp::datadriven::RosenblattTransformation::doInverseTransformation(), sgpp::datadriven::RosenblattTransformation::doTransformation(), sgpp::datadriven::ModelFittingLeastSquares::fit(), sgpp::datadriven::CSVFileSampleProvider::getAllSamples(), sgpp::datadriven::ArffFileSampleProvider::getAllSamples(), sgpp::datadriven::ArffFileSampleProvider::getDim(), sgpp::datadriven::CSVFileSampleProvider::getDim(), sgpp::datadriven::LearnerSGDEOnOffParallel::getDimensionality(), sgpp::datadriven::CSVFileSampleProvider::getNextSamples(), sgpp::datadriven::ArffFileSampleProvider::getNextSamples(), sgpp::datadriven::CSVFileSampleProvider::getNumSamples(), sgpp::datadriven::ArffFileSampleProvider::getNumSamples(), sgpp::datadriven::RefinementHandler::handleSurplusBasedRefinement(), hpx_main(), sgpp::datadriven::RosenblattTransformation::initialize(), sgpp::datadriven::MetaLearner::learnAndTestString(), sgpp::datadriven::MetaLearner::learnReferenceString(), sgpp::datadriven::MetaLearner::learnString(), main(), sgpp::datadriven::CSVFileSampleProvider::readString(), sgpp::datadriven::ArffFileSampleProvider::readString(), sgpp::datadriven::LearnerSGDEOnOffParallel::train(), and sgpp::datadriven::ModelFittingClassification::update().
◆ getNumberInstances()
size_t sgpp::datadriven::Dataset::getNumberInstances |
( |
| ) |
const |
- Returns
- number of instances in the dataset
References numberInstances.
Referenced by sgpp::datadriven::LearnerSGDEOnOffParallel::assembleNextBatchData(), sgpp::datadriven::LearnerSGDEOnOffParallel::assignBatchToWorker(), sgpp::datadriven::RosenblattTransformation::doInverseTransformation(), sgpp::datadriven::RosenblattTransformation::doTransformation(), sgpp::datadriven::LearnerSGDEOnOffParallel::getAccuracy(), sgpp::datadriven::ArffFileSampleProvider::getAllSamples(), sgpp::datadriven::CSVFileSampleProvider::getAllSamples(), sgpp::datadriven::LearnerSGDEOnOffParallel::getError(), sgpp::datadriven::ArffFileSampleProvider::getNumSamples(), sgpp::datadriven::CSVFileSampleProvider::getNumSamples(), hpx_main(), sgpp::datadriven::RosenblattTransformation::initialize(), sgpp::datadriven::SparseGridMinerCrossValidation::learn(), sgpp::datadriven::SparseGridMinerSplitting::learn(), sgpp::datadriven::MetaLearner::learnAndTestString(), sgpp::datadriven::MetaLearner::learnReferenceString(), sgpp::datadriven::MetaLearner::learnString(), main(), sgpp::datadriven::CSVFileSampleProvider::readString(), sgpp::datadriven::ArffFileSampleProvider::readString(), sgpp::datadriven::SortedDataset::SortedDataset(), sgpp::datadriven::LearnerSGDEOnOffParallel::splitBatchIntoClasses(), sgpp::datadriven::Scorer::test(), sgpp::datadriven::LearnerSGDEOnOffParallel::train(), sgpp::datadriven::LearnerSGDEOnOffParallel::trainParallel(), sgpp::datadriven::ModelFittingClassification::update(), and sgpp::datadriven::LearnerSGDEOnOffParallel::workBatch().
◆ getTargets() [1/2]
- Returns
- classes data of the dataset
References getTargets().
Referenced by sgpp::datadriven::LearnerSGDEOnOffParallel::assembleNextBatchData(), sgpp::datadriven::LearnerSGDEOnOffParallel::doRefinementForAll(), sgpp::datadriven::ModelFittingClassification::fit(), sgpp::datadriven::LearnerSGDEOnOffParallel::getAccuracy(), sgpp::datadriven::LearnerSGDEOnOffParallel::getError(), getTargets(), sgpp::datadriven::MetaLearner::learnAndTestString(), sgpp::datadriven::MetaLearner::learnReferenceString(), sgpp::datadriven::MetaLearner::learnString(), sgpp::datadriven::MortonOrder::orderDataset(), sgpp::datadriven::ARFFTools::readARFF(), sgpp::datadriven::CSVTools::readCSV(), sgpp::datadriven::CSVFileSampleProvider::readString(), sgpp::datadriven::ArffFileSampleProvider::readString(), sgpp::datadriven::ModelFittingLeastSquares::reset(), sgpp::datadriven::MortonOrder::restoreDataset(), sgpp::datadriven::LearnerSGDEOnOffParallel::splitBatchIntoClasses(), sgpp::datadriven::Scorer::test(), and sgpp::datadriven::ModelFittingClassification::update().
◆ getTargets() [2/2]
- Returns
- classes data of the dataset
References targets.
◆ data
◆ dimension
size_t sgpp::datadriven::Dataset::dimension |
|
protected |
◆ numberInstances
size_t sgpp::datadriven::Dataset::numberInstances |
|
protected |
◆ targets
The documentation for this class was generated from the following files: