SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::datadriven::Visualizer Class Referenceabstract

#include <Visualizer.hpp>

Inheritance diagram for sgpp::datadriven::Visualizer:
sgpp::datadriven::VisualizerDensityEstimation sgpp::datadriven::VisualizerDummy sgpp::datadriven::VisualizerClassification

Public Member Functions

const VisualizerConfigurationgetVisualizerConfiguration () const
 Get the configuration of the visualizer object.
 
virtual void runVisualization (ModelFittingBase &model, DataSource &dataSource, size_t fold, size_t batch)=0
 Method to run the visualization process for a given batch and fold.
 
 Visualizer ()
 
virtual ~Visualizer ()=default
 Virtual destructor.
 

Protected Member Functions

void createFolder (std::string folder_path)
 Method to create a folder based on the operating system of the user.
 

Protected Attributes

VisualizerConfiguration config
 Configuration object for the fitter.
 
std::string currentDirectory
 Variable to store the current folder in which the visualizer is working on.
 
DataMatrix originalData
 Matrix to store the data from the datasource.
 
size_t resolution
 Resolution used in the graphs.
 
DataMatrix tsneCompressedData
 Matrix to store the data provided by the tsne algorithm.
 

Constructor & Destructor Documentation

◆ Visualizer()

sgpp::datadriven::Visualizer::Visualizer ( )

◆ ~Visualizer()

virtual sgpp::datadriven::Visualizer::~Visualizer ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ createFolder()

◆ getVisualizerConfiguration()

const VisualizerConfiguration & sgpp::datadriven::Visualizer::getVisualizerConfiguration ( ) const

Get the configuration of the visualizer object.

Returns
configuration of the visualizer object

References config.

◆ runVisualization()

virtual void sgpp::datadriven::Visualizer::runVisualization ( ModelFittingBase model,
DataSource dataSource,
size_t  fold,
size_t  batch 
)
pure virtual

Method to run the visualization process for a given batch and fold.

Parameters
modelThe model used to evaluate the visualization
dataSourceThe datasource from where the data points are obtained
foldThe current fold being processed
batchThe current batch being processed

Implemented in sgpp::datadriven::VisualizerClassification, sgpp::datadriven::VisualizerDensityEstimation, and sgpp::datadriven::VisualizerDummy.

Member Data Documentation

◆ config

◆ currentDirectory

◆ originalData

◆ resolution

◆ tsneCompressedData

DataMatrix sgpp::datadriven::Visualizer::tsneCompressedData
protected

Matrix to store the data provided by the tsne algorithm.


The documentation for this class was generated from the following files: