|
TTK
|
TTK VTK-filter that apply dimension reduction algorithms on input. More...
#include <DimensionReduction.h>
Public Types | |
| enum class | METHOD { SE = 0 , LLE = 1 , MDS = 2 , T_SNE = 3 , ISOMAP = 4 , PCA = 5 , TOPOMAP = 6 , AE = 7 } |
Public Member Functions | |
| DimensionReduction () | |
| void | setSEParameters (const std::string &Affinity, const float Gamma, const std::string &EigenSolver, const bool InputIsADistanceMatrix) |
| void | setLLEParameters (const float Regularization, const std::string &EigenSolver, const float Tolerance, const int MaxIteration, const std::string &Method_s, const float HessianTolerance, const float ModifiedTolerance, const std::string &NeighborsAlgorithm) |
| void | setMDSParameters (const bool Metric, const int Init, const int MaxIteration, const int Verbose, const float Epsilon, const bool Dissimilarity) |
| void | setTSNEParameters (const float Perplexity, const float Exaggeration, const float LearningRate, const int MaxIteration, const int MaxIterationProgress, const float GradientThreshold, const std::string &Metric, const std::string &Init, const int Verbose, const std::string &Method_s, const float Angle) |
| void | setISOParameters (const std::string &EigenSolver, const float Tolerance, const int MaxIteration, const std::string &PathMethod, const std::string &NeighborsAlgorithm) |
| void | setPCAParameters (const bool Copy, const bool Whiten, const std::string &SVDSolver, const float Tolerance, const std::string &MaxIteration) |
| void | setTopoParameters (const size_t AngularSampleNb, bool CheckMST) |
| void | setInputModulePath (const std::string &modulePath) |
| void | setInputModuleName (const std::string &moduleName) |
| void | setInputFunctionName (const std::string &functionName) |
| void | setInputMethod (METHOD method) |
| void | setInputNumberOfComponents (const int numberOfComponents) |
| void | setInputNumberOfNeighbors (const int numberOfNeighbors) |
| void | setInputIsDeterministic (const int isDeterm) |
| void | setIsInputDistanceMatrix (const bool data) |
| int | execute (std::vector< std::vector< double > > &outputEmbedding, const std::vector< double > &inputMatrix, const int nRows, const int nColumns, int *insertionTimeForTopoMap=nullptr) const |
Public Member Functions inherited from ttk::Debug | |
| Debug () | |
| ~Debug () override | |
| virtual int | setDebugLevel (const int &debugLevel) |
| int | setWrapper (const Wrapper *wrapper) override |
| int | printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
| int | printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
| int | printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const |
| int | printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const |
| int | printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
| int | printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
| int | printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
| int | printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
| int | printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
| int | printMsg (const std::vector< std::vector< std::string > > &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
| int | printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const |
| int | printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
| int | printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const |
| void | setDebugMsgPrefix (const std::string &prefix) |
Public Member Functions inherited from ttk::BaseClass | |
| BaseClass () | |
| virtual | ~BaseClass ()=default |
| int | getThreadNumber () const |
| virtual int | setThreadNumber (const int threadNumber) |
Additional Inherited Members | |
Protected Member Functions inherited from ttk::Debug | |
| int | printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
| int | printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const |
| int | welcomeMsg (std::ostream &stream) |
Static Protected Attributes inherited from ttk::Debug | |
| static COMMON_EXPORTS debug::LineMode | lastLineMode = ttk::debug::LineMode::NEW |
TTK VTK-filter that apply dimension reduction algorithms on input.
| Input | Input scalar field (vtkTable) |
| Output | Output scalar field (vtkTable) |
TTK VTK-filter that takes a matrix (vtkTable) as input and apply a dimension reduction algorithm from scikit-learn.
Online examples:
Definition at line 81 of file DimensionReduction.h.
|
strong |
Scikit-Learn Dimension Reduction algorithms
Definition at line 87 of file DimensionReduction.h.
| DimensionReduction::DimensionReduction | ( | ) |
Definition at line 16 of file DimensionReduction.cpp.
| int DimensionReduction::execute | ( | std::vector< std::vector< double > > & | outputEmbedding, |
| const std::vector< double > & | inputMatrix, | ||
| const int | nRows, | ||
| const int | nColumns, | ||
| int * | insertionTimeForTopoMap = nullptr ) const |
Definition at line 43 of file DimensionReduction.cpp.
|
inline |
Definition at line 215 of file DimensionReduction.h.
|
inline |
Definition at line 269 of file DimensionReduction.h.
|
inline |
Definition at line 219 of file DimensionReduction.h.
|
inline |
Definition at line 211 of file DimensionReduction.h.
|
inline |
Definition at line 207 of file DimensionReduction.h.
|
inline |
Definition at line 261 of file DimensionReduction.h.
|
inline |
Definition at line 265 of file DimensionReduction.h.
|
inline |
Definition at line 273 of file DimensionReduction.h.
|
inline |
Definition at line 179 of file DimensionReduction.h.
|
inline |
Definition at line 119 of file DimensionReduction.h.
|
inline |
Definition at line 137 of file DimensionReduction.h.
|
inline |
Definition at line 191 of file DimensionReduction.h.
|
inline |
Definition at line 106 of file DimensionReduction.h.
|
inline |
Definition at line 202 of file DimensionReduction.h.
|
inline |
Definition at line 155 of file DimensionReduction.h.
|
protected |
Definition at line 364 of file DimensionReduction.h.
|
protected |
Definition at line 363 of file DimensionReduction.h.
|
protected |
Definition at line 366 of file DimensionReduction.h.
|
protected |
Definition at line 365 of file DimensionReduction.h.
|
protected |
Definition at line 352 of file DimensionReduction.h.
|
protected |
Definition at line 353 of file DimensionReduction.h.
|
protected |
Definition at line 355 of file DimensionReduction.h.
|
protected |
Definition at line 356 of file DimensionReduction.h.
|
protected |
Definition at line 359 of file DimensionReduction.h.
|
protected |
Definition at line 361 of file DimensionReduction.h.
|
protected |
Definition at line 357 of file DimensionReduction.h.
|
protected |
Definition at line 368 of file DimensionReduction.h.
|
protected |
Definition at line 369 of file DimensionReduction.h.
|
protected |
Definition at line 367 of file DimensionReduction.h.
|
protected |
Definition at line 354 of file DimensionReduction.h.
|
protected |
Definition at line 374 of file DimensionReduction.h.
|
protected |
Definition at line 380 of file DimensionReduction.h.
|
protected |
Definition at line 382 of file DimensionReduction.h.
|
protected |
Definition at line 383 of file DimensionReduction.h.
|
protected |
Definition at line 332 of file DimensionReduction.h.
|
protected |
Definition at line 334 of file DimensionReduction.h.
|
protected |
Definition at line 337 of file DimensionReduction.h.
|
protected |
Definition at line 336 of file DimensionReduction.h.
|
protected |
Definition at line 335 of file DimensionReduction.h.
|
protected |
Definition at line 333 of file DimensionReduction.h.
|
protected |
Definition at line 302 of file DimensionReduction.h.
|
protected |
Definition at line 306 of file DimensionReduction.h.
|
protected |
Definition at line 304 of file DimensionReduction.h.
|
protected |
Definition at line 305 of file DimensionReduction.h.
|
protected |
Definition at line 307 of file DimensionReduction.h.
|
protected |
Definition at line 308 of file DimensionReduction.h.
|
protected |
Definition at line 301 of file DimensionReduction.h.
|
protected |
Definition at line 303 of file DimensionReduction.h.
|
protected |
Definition at line 381 of file DimensionReduction.h.
|
protected |
Definition at line 316 of file DimensionReduction.h.
|
protected |
Definition at line 315 of file DimensionReduction.h.
|
protected |
Definition at line 312 of file DimensionReduction.h.
|
protected |
Definition at line 313 of file DimensionReduction.h.
|
protected |
Definition at line 311 of file DimensionReduction.h.
|
protected |
Definition at line 314 of file DimensionReduction.h.
|
protected |
Definition at line 376 of file DimensionReduction.h.
|
protected |
Definition at line 373 of file DimensionReduction.h.
|
protected |
Definition at line 372 of file DimensionReduction.h.
|
protected |
Definition at line 378 of file DimensionReduction.h.
|
protected |
Definition at line 379 of file DimensionReduction.h.
|
protected |
Definition at line 340 of file DimensionReduction.h.
|
protected |
Definition at line 344 of file DimensionReduction.h.
|
protected |
Definition at line 342 of file DimensionReduction.h.
|
protected |
Definition at line 343 of file DimensionReduction.h.
|
protected |
Definition at line 341 of file DimensionReduction.h.
|
protected |
Definition at line 296 of file DimensionReduction.h.
|
protected |
Definition at line 298 of file DimensionReduction.h.
|
protected |
Definition at line 297 of file DimensionReduction.h.
|
protected |
Definition at line 347 of file DimensionReduction.h.
|
protected |
Definition at line 348 of file DimensionReduction.h.
|
protected |
Definition at line 349 of file DimensionReduction.h.
|
protected |
Definition at line 329 of file DimensionReduction.h.
|
protected |
Definition at line 320 of file DimensionReduction.h.
|
protected |
Definition at line 324 of file DimensionReduction.h.
|
protected |
Definition at line 326 of file DimensionReduction.h.
|
protected |
Definition at line 321 of file DimensionReduction.h.
|
protected |
Definition at line 322 of file DimensionReduction.h.
|
protected |
Definition at line 323 of file DimensionReduction.h.
|
protected |
Definition at line 328 of file DimensionReduction.h.
|
protected |
Definition at line 325 of file DimensionReduction.h.
|
protected |
Definition at line 319 of file DimensionReduction.h.
|
protected |
Definition at line 327 of file DimensionReduction.h.