TTK
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ttk::MergeTreeAutoencoder Class Reference

#include <MergeTreeAutoencoder.h>

Inheritance diagram for ttk::MergeTreeAutoencoder:
ttk::Debug ttk::MergeTreeAxesAlgorithmBase ttk::BaseClass ttk::Debug ttk::MergeTreeBase ttk::BaseClass ttk::Debug ttk::BaseClass ttk::MergeTreeAutoencoderDecoding ttkMergeTreeAutoencoder ttkMergeTreeAutoencoderDecoding

Public Member Functions

 MergeTreeAutoencoder ()
 
void execute (std::vector< ftm::MergeTree< float > > &trees, std::vector< ftm::MergeTree< float > > &trees2)
 
- 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)
 
- Public Member Functions inherited from ttk::MergeTreeAxesAlgorithmBase
 MergeTreeAxesAlgorithmBase ()
 
template<class dataType >
void computeOneDistance (ftm::MergeTree< dataType > &tree1, ftm::MergeTree< dataType > &tree2, std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > &matching, dataType &distance, bool isCalled=false, bool useDoubleInput=false, bool isFirstInput=true)
 
template<class dataType >
void computeOneDistance (ftm::MergeTree< dataType > &tree1, ftm::MergeTree< dataType > &tree2, dataType &distance, bool isCalled=false, bool useDoubleInput=false, bool isFirstInput=true)
 
template<class dataType >
void initVectorFromMatching (ftm::MergeTree< dataType > &barycenter, ftm::MergeTree< dataType > &tree, std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > &matching, std::vector< std::vector< double > > &v)
 
template<class dataType >
void initRandomVector (ftm::MergeTree< dataType > &barycenter, std::vector< std::vector< double > > &v, std::vector< std::vector< std::vector< double > > > &vS, std::vector< std::vector< std::vector< double > > > &v2s)
 
template<class dataType , typename F >
int initVectors (int axeNumber, ftm::MergeTree< dataType > &barycenter, std::vector< ftm::MergeTree< dataType > > &trees, ftm::MergeTree< dataType > &barycenter2, std::vector< ftm::MergeTree< dataType > > &trees2, std::vector< std::vector< double > > &v1, std::vector< std::vector< double > > &v2, std::vector< std::vector< double > > &trees2V1, std::vector< std::vector< double > > &trees2V2, int newVectorOffset, std::vector< double > &inputToOriginDistances, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &baryMatchings, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &baryMatchings2, std::vector< std::vector< double > > &inputToAxesDistances, std::vector< std::vector< std::vector< double > > > &vS, std::vector< std::vector< std::vector< double > > > &v2s, std::vector< std::vector< std::vector< double > > > &trees2Vs, std::vector< std::vector< std::vector< double > > > &trees2V2s, bool projectInitializedVectors, F initializedVectorsProjection)
 
template<class dataType >
void computeOneBarycenter (std::vector< ftm::MergeTree< dataType > > &trees, ftm::MergeTree< dataType > &baryMergeTree, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &matchings, std::vector< double > &finalDistances, double barycenterSizeLimitPercent, unsigned int barycenterMaximumNumberOfPairs, bool useDoubleInput=false, bool isFirstInput=true)
 
template<class dataType >
void computeOneBarycenter (std::vector< ftm::MergeTree< dataType > > &trees, ftm::MergeTree< dataType > &baryMergeTree, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &matchings, std::vector< double > &finalDistances, double barycenterSizeLimitPercent, bool useDoubleInput=false, bool isFirstInput=true)
 
template<class dataType >
void computeOneBarycenter (std::vector< ftm::MergeTree< dataType > > &trees, ftm::MergeTree< dataType > &baryMergeTree, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &matchings, std::vector< double > &finalDistances, bool useDoubleInput=false, bool isFirstInput=true)
 
template<class dataType >
void computeOneBarycenter (std::vector< ftm::MergeTree< dataType > > &trees, ftm::MergeTree< dataType > &baryMergeTree, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &matchings)
 
template<class dataType >
void computeOneBarycenter (std::vector< ftm::MergeTree< dataType > > &trees, ftm::MergeTree< dataType > &baryMergeTree)
 
template<class dataType >
void preprocessingTrees (std::vector< ftm::MergeTree< dataType > > &trees, std::vector< std::vector< int > > &nodeCorr, bool useMinMaxPairT=true)
 
template<class dataType >
void preprocessingTrees (std::vector< ftm::MergeTree< dataType > > &trees, bool useMinMaxPairT=true)
 
template<class dataType >
void getMatchingVector (ftm::MergeTree< dataType > &barycenter, ftm::MergeTree< dataType > &tree, std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > &matchings, std::vector< ftm::idNode > &matchingVector)
 
template<class dataType >
void getInverseMatchingVector (ftm::MergeTree< dataType > &barycenter, ftm::MergeTree< dataType > &tree, std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > &matchings, std::vector< ftm::idNode > &matchingVector)
 
void reverseMatchingVector (unsigned int noNodes, std::vector< ftm::idNode > &matchingVector, std::vector< ftm::idNode > &invMatchingVector)
 
template<class dataType >
void reverseMatchingVector (ftm::MergeTree< dataType > &tree, std::vector< ftm::idNode > &matchingVector, std::vector< ftm::idNode > &invMatchingVector)
 
template<class dataType >
void getMatchingMatrix (ftm::MergeTree< dataType > &barycenter, std::vector< ftm::MergeTree< dataType > > &trees, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &matchings, std::vector< std::vector< ftm::idNode > > &matchingMatrix)
 
template<class dataType >
std::tuple< dataType, dataType > getParametrizedBirthDeath (ftm::FTMTree_MT *tree, ftm::idNode node)
 
template<class dataType >
void computeBranchesCorrelationMatrix (ftm::MergeTree< dataType > &barycenter, std::vector< ftm::MergeTree< dataType > > &trees, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &baryMatchings, std::vector< std::vector< double > > &allTs, std::vector< std::vector< double > > &branchesCorrelationMatrix, std::vector< std::vector< double > > &persCorrelationMatrix)
 
- Public Member Functions inherited from ttk::MergeTreeBase
 MergeTreeBase ()
 
void setAssignmentSolver (int assignmentSolver)
 
void setEpsilon1UseFarthestSaddle (bool b)
 
void setEpsilonTree1 (double epsilon)
 
void setEpsilonTree2 (double epsilon)
 
void setEpsilon2Tree1 (double epsilon)
 
void setEpsilon2Tree2 (double epsilon)
 
void setEpsilon3Tree1 (double epsilon)
 
void setEpsilon3Tree2 (double epsilon)
 
void setPersistenceThreshold (double pt)
 
void setParallelize (bool para)
 
void setNodePerTask (int npt)
 
void setBranchDecomposition (bool useBD)
 
void setNormalizedWasserstein (bool normalizedWasserstein)
 
void setKeepSubtree (bool keepSubtree)
 
void setNonMatchingWeight (double weight)
 
void setBarycenterMergeTree (bool imt)
 
void setDistanceSquaredRoot (bool distanceSquaredRoot)
 
void setUseMinMaxPair (bool useMinMaxPair)
 
void setDeleteMultiPersPairs (bool deleteMultiPersPairsT)
 
void setCleanTree (bool clean)
 
void setIsPersistenceDiagram (bool isPD)
 
std::vector< std::vector< int > > getTreesNodeCorr ()
 
double mixDistancesMinMaxPairWeight (bool isFirstInput)
 
double mixDistancesWeight (bool isFirstInput)
 
template<class dataType >
double mixDistances (dataType distance1, dataType distance2)
 
template<class dataType >
void mixDistancesMatrix (std::vector< std::vector< dataType > > &distanceMatrix, std::vector< std::vector< dataType > > &distanceMatrix2)
 
template<class dataType >
void mergeSaddle (ftm::FTMTree_MT *tree, double epsilon, std::vector< std::vector< ftm::idNode > > &treeNodeMerged, bool mergeByPersistence=false)
 
template<class dataType >
void persistenceMerging (ftm::FTMTree_MT *tree, double epsilon2, double epsilon3=100)
 
template<class dataType >
void keepMostImportantPairs (ftm::FTMTree_MT *tree, int n, bool useBD)
 
template<class dataType >
void persistenceThresholding (ftm::FTMTree_MT *tree, double persistenceThresholdT, std::vector< ftm::idNode > &deletedNodes)
 
template<class dataType >
void persistenceThresholding (ftm::FTMTree_MT *tree, std::vector< ftm::idNode > &deletedNodes)
 
template<class dataType >
void persistenceThresholding (ftm::FTMTree_MT *tree, double persistenceThresholdT)
 
template<class dataType >
void persistenceThresholding (ftm::FTMTree_MT *tree)
 
template<class dataType >
void verifyOrigins (ftm::FTMTree_MT *tree)
 
template<class dataType >
void preprocessTree (ftm::FTMTree_MT *tree, bool deleteInconsistentNodes=true)
 
template<class dataType >
ftm::FTMTree_MTcomputeBranchDecomposition (ftm::FTMTree_MT *tree, std::vector< std::vector< ftm::idNode > > &treeNodeMerged)
 
template<class dataType >
void dontUseMinMaxPair (ftm::FTMTree_MT *tree)
 
void verifyPairsTree (ftm::FTMTree_MT *tree)
 
template<class dataType >
void deleteMultiPersPairs (ftm::FTMTree_MT *tree, bool useBD)
 
template<class dataType >
void preprocessingPipeline (ftm::MergeTree< dataType > &mTree, double epsilonTree, double epsilon2Tree, double epsilon3Tree, bool branchDecompositionT, bool useMinMaxPairT, bool cleanTreeT, double persistenceThreshold, std::vector< int > &nodeCorr, bool deleteInconsistentNodes=true)
 
template<class dataType >
void preprocessingPipeline (ftm::MergeTree< dataType > &mTree, double epsilonTree, double epsilon2Tree, double epsilon3Tree, bool branchDecompositionT, bool useMinMaxPairT, bool cleanTreeT, std::vector< int > &nodeCorr, bool deleteInconsistentNodes=true)
 
void reverseNodeCorr (ftm::FTMTree_MT *tree, std::vector< int > &nodeCorr)
 
template<class dataType >
void mtFlattening (ftm::MergeTree< dataType > &mt)
 
template<class dataType >
void mtsFlattening (std::vector< ftm::MergeTree< dataType > > &mts)
 
double getSizeLimitMetric (std::vector< ftm::FTMTree_MT * > &trees)
 
template<class dataType >
void copyMinMaxPair (ftm::MergeTree< dataType > &mTree1, ftm::MergeTree< dataType > &mTree2, bool setOrigins=false)
 
template<class dataType >
std::tuple< int, dataType > fixMergedRootOrigin (ftm::FTMTree_MT *tree)
 
template<class dataType >
void branchDecompositionToTree (ftm::FTMTree_MT *tree)
 
template<class dataType >
void putBackMergedNodes (ftm::FTMTree_MT *tree)
 
template<class dataType >
void postprocessingPipeline (ftm::FTMTree_MT *tree)
 
template<class dataType >
void convertBranchDecompositionMatching (ftm::FTMTree_MT *tree1, ftm::FTMTree_MT *tree2, std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > &outputMatching)
 
template<class dataType >
void convertBranchDecompositionMatching (ftm::FTMTree_MT *tree1, ftm::FTMTree_MT *tree2, std::vector< std::tuple< ftm::idNode, ftm::idNode > > &outputMatching)
 
template<class dataType >
void identifyRealMatching (ftm::FTMTree_MT *tree1, ftm::FTMTree_MT *tree2, std::vector< std::tuple< ftm::idNode, ftm::idNode > > &outputMatching, std::vector< std::tuple< ftm::idNode, ftm::idNode, bool > > &realMatching)
 
template<class dataType >
dataType computeDistance (dataType x1, dataType x2, dataType y1, dataType y2, double power=2)
 
template<class dataType >
dataType deleteCost (ftm::FTMTree_MT *tree, ftm::idNode nodeId)
 
template<class dataType >
dataType insertCost (ftm::FTMTree_MT *tree, ftm::idNode nodeId)
 
template<class dataType >
dataType relabelCostOnly (ftm::FTMTree_MT *tree1, ftm::idNode nodeId1, ftm::FTMTree_MT *tree2, ftm::idNode nodeId2)
 
template<class dataType >
dataType relabelCost (ftm::FTMTree_MT *tree1, ftm::idNode nodeId1, ftm::FTMTree_MT *tree2, ftm::idNode nodeId2)
 
void getParamNames (std::vector< std::string > &paramNames)
 
double getParamValueFromName (std::string &paramName)
 
void setParamValueFromName (std::string &paramName, double value)
 
void getTreesStats (std::vector< ftm::FTMTree_MT * > &trees, std::array< double, 3 > &stats)
 
void printTreesStats (std::vector< ftm::FTMTree_MT * > &trees)
 
template<class dataType >
void printTreesStats (std::vector< ftm::MergeTree< dataType > > &trees)
 
template<class dataType >
void printTableVector (std::vector< std::vector< dataType > > &table)
 
template<class dataType >
void printTable (dataType *table, int nRows, int nCols)
 
void printMatching (std::vector< MatchingType > &matchings)
 
void printMatching (std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > &matchings)
 
void printMatching (std::vector< std::tuple< ftm::idNode, ftm::idNode > > &matchings)
 
template<class dataType >
void printPairs (std::vector< std::tuple< SimplexId, SimplexId, dataType > > &treePairs)
 
template<class dataType >
void printOutputMatching (std::vector< std::tuple< ftm::idNode, ftm::idNode > > &outputMatching, ftm::FTMTree_MT *tree1, ftm::FTMTree_MT *tree2, bool computeCosts=true)
 

Protected Attributes

bool doCompute_
 
bool hasComputedOnce_ = false
 
int encoderNoLayers_ = 1
 
bool scaleLayerAfterLatent_ = false
 
unsigned int inputNumberOfAxes_ = 16
 
double inputOriginPrimeSizePercent_ = 15
 
double latentSpaceOriginPrimeSizePercent_ = 10
 
unsigned int minIteration_ = 0
 
unsigned int maxIteration_ = 0
 
unsigned int iterationGap_ = 100
 
double batchSize_ = 1
 
int optimizer_ = 0
 
double gradientStepSize_ = 0.1
 
double beta1_ = 0.9
 
double beta2_ = 0.999
 
double reconstructionLossWeight_ = 1
 
double trackingLossWeight_ = 0
 
double metricLossWeight_ = 0
 
double clusteringLossWeight_ = 0
 
float clusteringLossTemp_ = 10
 
bool customLossDynamicWeight_ = false
 
bool customLossSpace_ = false
 
bool customLossActivate_ = false
 
bool normalizeMetricLoss_ = false
 
unsigned int noInit_ = 4
 
bool euclideanVectorsInit_ = false
 
bool initOriginPrimeStructByCopy_ = true
 
bool trackingLossDecoding_ = false
 
double trackingLossInitRandomness_ = 0.0
 
bool activate_ = true
 
unsigned int activationFunction_ = 1
 
bool activateOutputInit_ = false
 
bool createOutput_ = true
 
bool fullSymmetricAE_ = false
 
unsigned noLayers_
 
double baseRecLoss_
 
double baseRecLoss2_
 
float bestLoss_
 
std::vector< unsigned int > clusterAsgn_
 
std::vector< std::vector< float > > distanceMatrix_
 
std::vector< std::vector< float > > customAlphas_
 
std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > baryMatchings_L0_
 
std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > baryMatchings2_L0_
 
std::vector< double > inputToBaryDistances_L0_
 
std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > originsMatchings_
 
std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > reconstMatchings_
 
std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > customMatchings_
 
std::vector< std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > > dataMatchings_
 
std::vector< std::vector< double > > branchesCorrelationMatrix_
 
std::vector< std::vector< double > > persCorrelationMatrix_
 
double t_allVectorCopy_time_ = 0.0
 
std::vector< unsigned int > originsNoZeroGrad_
 
std::vector< unsigned int > originsPrimeNoZeroGrad_
 
std::vector< unsigned int > vSNoZeroGrad_
 
std::vector< unsigned int > vSPrimeNoZeroGrad_
 
std::vector< unsigned int > origins2NoZeroGrad_
 
std::vector< unsigned int > origins2PrimeNoZeroGrad_
 
std::vector< unsigned int > vS2NoZeroGrad_
 
std::vector< unsigned int > vS2PrimeNoZeroGrad_
 
bool outputInit_ = true
 
float bigValuesThreshold_ = 0
 
- Protected Attributes inherited from ttk::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
std::string debugMsgNamePrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 
- Protected Attributes inherited from ttk::MergeTreeAxesAlgorithmBase
bool deterministic_ = true
 
unsigned int numberOfAxes_ = 2
 
unsigned int k_ = 16
 
double barycenterSizeLimitPercent_ = 20.0
 
std::vector< std::vector< int > > trees2NodeCorr_
 
- Protected Attributes inherited from ttk::MergeTreeBase
int assignmentSolverID_ = 0
 
bool epsilon1UseFarthestSaddle_ = false
 
double epsilonTree1_ = 0
 
double epsilonTree2_ = 0
 
double epsilon2Tree1_ = 100
 
double epsilon2Tree2_ = 100
 
double epsilon3Tree1_ = 100
 
double epsilon3Tree2_ = 100
 
double persistenceThreshold_ = 0
 
bool barycenterMergeTree_ = false
 
bool useMinMaxPair_ = true
 
bool deleteMultiPersPairs_ = false
 
bool branchDecomposition_ = true
 
int wassersteinPower_ = 2
 
bool normalizedWasserstein_ = true
 
bool keepSubtree_ = false
 
double nonMatchingWeight_ = 1.0
 
bool distanceSquaredRoot_ = true
 
bool useFullMerge_ = false
 
bool isPersistenceDiagram_ = false
 
bool convertToDiagram_ = false
 
double mixtureCoefficient_ = 0.5
 
bool useDoubleInput_ = false
 
bool parallelize_ = true
 
int nodePerTask_ = 32
 
bool cleanTree_ = true
 
std::vector< std::vector< int > > treesNodeCorr_
 

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
 

Detailed Description

The MergeTreeAutoencoder class provides methods to compute an Auto-Encoding of merge trees or persistence diagrams.

Author
Mathieu Pont mathi.nosp@m.eu.p.nosp@m.ont@l.nosp@m.ip6..nosp@m.fr
Date
2023.

This module defines the MergeTreeAutoencoder class that computes an Auto-Encoding of merge trees or persistence diagrams.

Related publication:
"Wasserstein Auto-Encoders of Merge Trees (and Persistence Diagrams)"
Mathieu Pont, Julien Tierny.
IEEE Transactions on Visualization and Computer Graphics, 2023

Online examples:

Definition at line 40 of file MergeTreeAutoencoder.h.

Constructor & Destructor Documentation

◆ MergeTreeAutoencoder()

ttk::MergeTreeAutoencoder::MergeTreeAutoencoder ( )

Definition at line 9 of file MergeTreeAutoencoder.cpp.

Member Function Documentation

◆ execute()

void ttk::MergeTreeAutoencoder::execute ( std::vector< ftm::MergeTree< float > > &  trees,
std::vector< ftm::MergeTree< float > > &  trees2 
)

Definition at line 2602 of file MergeTreeAutoencoder.cpp.

Member Data Documentation

◆ activate_

bool ttk::MergeTreeAutoencoder::activate_ = true
protected

Definition at line 75 of file MergeTreeAutoencoder.h.

◆ activateOutputInit_

bool ttk::MergeTreeAutoencoder::activateOutputInit_ = false
protected

Definition at line 77 of file MergeTreeAutoencoder.h.

◆ activationFunction_

unsigned int ttk::MergeTreeAutoencoder::activationFunction_ = 1
protected

Definition at line 76 of file MergeTreeAutoencoder.h.

◆ baryMatchings2_L0_

std::vector<std::vector<std::tuple<ftm::idNode, ftm::idNode, double> > > ttk::MergeTreeAutoencoder::baryMatchings2_L0_
protected

Definition at line 107 of file MergeTreeAutoencoder.h.

◆ baryMatchings_L0_

std::vector<std::vector<std::tuple<ftm::idNode, ftm::idNode, double> > > ttk::MergeTreeAutoencoder::baryMatchings_L0_
protected

Definition at line 107 of file MergeTreeAutoencoder.h.

◆ baseRecLoss2_

double ttk::MergeTreeAutoencoder::baseRecLoss2_
protected

Definition at line 102 of file MergeTreeAutoencoder.h.

◆ baseRecLoss_

double ttk::MergeTreeAutoencoder::baseRecLoss_
protected

Definition at line 102 of file MergeTreeAutoencoder.h.

◆ batchSize_

double ttk::MergeTreeAutoencoder::batchSize_ = 1
protected

Definition at line 56 of file MergeTreeAutoencoder.h.

◆ bestLoss_

float ttk::MergeTreeAutoencoder::bestLoss_
protected

Definition at line 103 of file MergeTreeAutoencoder.h.

◆ beta1_

double ttk::MergeTreeAutoencoder::beta1_ = 0.9
protected

Definition at line 59 of file MergeTreeAutoencoder.h.

◆ beta2_

double ttk::MergeTreeAutoencoder::beta2_ = 0.999
protected

Definition at line 60 of file MergeTreeAutoencoder.h.

◆ bigValuesThreshold_

float ttk::MergeTreeAutoencoder::bigValuesThreshold_ = 0
protected

Definition at line 129 of file MergeTreeAutoencoder.h.

◆ branchesCorrelationMatrix_

std::vector<std::vector<double> > ttk::MergeTreeAutoencoder::branchesCorrelationMatrix_
protected

Definition at line 116 of file MergeTreeAutoencoder.h.

◆ clusterAsgn_

std::vector<unsigned int> ttk::MergeTreeAutoencoder::clusterAsgn_
protected

Definition at line 104 of file MergeTreeAutoencoder.h.

◆ clusteringLossTemp_

float ttk::MergeTreeAutoencoder::clusteringLossTemp_ = 10
protected

Definition at line 65 of file MergeTreeAutoencoder.h.

◆ clusteringLossWeight_

double ttk::MergeTreeAutoencoder::clusteringLossWeight_ = 0
protected

Definition at line 64 of file MergeTreeAutoencoder.h.

◆ createOutput_

bool ttk::MergeTreeAutoencoder::createOutput_ = true
protected

Definition at line 79 of file MergeTreeAutoencoder.h.

◆ customAlphas_

std::vector<std::vector<float> > ttk::MergeTreeAutoencoder::customAlphas_
protected

Definition at line 105 of file MergeTreeAutoencoder.h.

◆ customLossActivate_

bool ttk::MergeTreeAutoencoder::customLossActivate_ = false
protected

Definition at line 68 of file MergeTreeAutoencoder.h.

◆ customLossDynamicWeight_

bool ttk::MergeTreeAutoencoder::customLossDynamicWeight_ = false
protected

Definition at line 66 of file MergeTreeAutoencoder.h.

◆ customLossSpace_

bool ttk::MergeTreeAutoencoder::customLossSpace_ = false
protected

Definition at line 67 of file MergeTreeAutoencoder.h.

◆ customMatchings_

std::vector<std::vector<std::tuple<ftm::idNode, ftm::idNode, double> > > ttk::MergeTreeAutoencoder::customMatchings_
protected

Definition at line 112 of file MergeTreeAutoencoder.h.

◆ dataMatchings_

std::vector< std::vector<std::vector<std::tuple<ftm::idNode, ftm::idNode, double> > > > ttk::MergeTreeAutoencoder::dataMatchings_
protected

Definition at line 115 of file MergeTreeAutoencoder.h.

◆ distanceMatrix_

std::vector<std::vector<float> > ttk::MergeTreeAutoencoder::distanceMatrix_
protected

Definition at line 105 of file MergeTreeAutoencoder.h.

◆ doCompute_

bool ttk::MergeTreeAutoencoder::doCompute_
protected

Definition at line 44 of file MergeTreeAutoencoder.h.

◆ encoderNoLayers_

int ttk::MergeTreeAutoencoder::encoderNoLayers_ = 1
protected

Definition at line 48 of file MergeTreeAutoencoder.h.

◆ euclideanVectorsInit_

bool ttk::MergeTreeAutoencoder::euclideanVectorsInit_ = false
protected

Definition at line 71 of file MergeTreeAutoencoder.h.

◆ fullSymmetricAE_

bool ttk::MergeTreeAutoencoder::fullSymmetricAE_ = false
protected

Definition at line 82 of file MergeTreeAutoencoder.h.

◆ gradientStepSize_

double ttk::MergeTreeAutoencoder::gradientStepSize_ = 0.1
protected

Definition at line 58 of file MergeTreeAutoencoder.h.

◆ hasComputedOnce_

bool ttk::MergeTreeAutoencoder::hasComputedOnce_ = false
protected

Definition at line 45 of file MergeTreeAutoencoder.h.

◆ initOriginPrimeStructByCopy_

bool ttk::MergeTreeAutoencoder::initOriginPrimeStructByCopy_ = true
protected

Definition at line 72 of file MergeTreeAutoencoder.h.

◆ inputNumberOfAxes_

unsigned int ttk::MergeTreeAutoencoder::inputNumberOfAxes_ = 16
protected

Definition at line 50 of file MergeTreeAutoencoder.h.

◆ inputOriginPrimeSizePercent_

double ttk::MergeTreeAutoencoder::inputOriginPrimeSizePercent_ = 15
protected

Definition at line 51 of file MergeTreeAutoencoder.h.

◆ inputToBaryDistances_L0_

std::vector<double> ttk::MergeTreeAutoencoder::inputToBaryDistances_L0_
protected

Definition at line 108 of file MergeTreeAutoencoder.h.

◆ iterationGap_

unsigned int ttk::MergeTreeAutoencoder::iterationGap_ = 100
protected

Definition at line 55 of file MergeTreeAutoencoder.h.

◆ latentSpaceOriginPrimeSizePercent_

double ttk::MergeTreeAutoencoder::latentSpaceOriginPrimeSizePercent_ = 10
protected

Definition at line 52 of file MergeTreeAutoencoder.h.

◆ maxIteration_

unsigned int ttk::MergeTreeAutoencoder::maxIteration_ = 0
protected

Definition at line 54 of file MergeTreeAutoencoder.h.

◆ metricLossWeight_

double ttk::MergeTreeAutoencoder::metricLossWeight_ = 0
protected

Definition at line 63 of file MergeTreeAutoencoder.h.

◆ minIteration_

unsigned int ttk::MergeTreeAutoencoder::minIteration_ = 0
protected

Definition at line 53 of file MergeTreeAutoencoder.h.

◆ noInit_

unsigned int ttk::MergeTreeAutoencoder::noInit_ = 4
protected

Definition at line 70 of file MergeTreeAutoencoder.h.

◆ noLayers_

unsigned ttk::MergeTreeAutoencoder::noLayers_
protected

Definition at line 101 of file MergeTreeAutoencoder.h.

◆ normalizeMetricLoss_

bool ttk::MergeTreeAutoencoder::normalizeMetricLoss_ = false
protected

Definition at line 69 of file MergeTreeAutoencoder.h.

◆ optimizer_

int ttk::MergeTreeAutoencoder::optimizer_ = 0
protected

Definition at line 57 of file MergeTreeAutoencoder.h.

◆ origins2NoZeroGrad_

std::vector<unsigned int> ttk::MergeTreeAutoencoder::origins2NoZeroGrad_
protected

Definition at line 122 of file MergeTreeAutoencoder.h.

◆ origins2PrimeNoZeroGrad_

std::vector<unsigned int> ttk::MergeTreeAutoencoder::origins2PrimeNoZeroGrad_
protected

Definition at line 123 of file MergeTreeAutoencoder.h.

◆ originsMatchings_

std::vector<std::vector<std::tuple<ftm::idNode, ftm::idNode, double> > > ttk::MergeTreeAutoencoder::originsMatchings_
protected

Definition at line 112 of file MergeTreeAutoencoder.h.

◆ originsNoZeroGrad_

std::vector<unsigned int> ttk::MergeTreeAutoencoder::originsNoZeroGrad_
protected

Definition at line 121 of file MergeTreeAutoencoder.h.

◆ originsPrimeNoZeroGrad_

std::vector<unsigned int> ttk::MergeTreeAutoencoder::originsPrimeNoZeroGrad_
protected

Definition at line 121 of file MergeTreeAutoencoder.h.

◆ outputInit_

bool ttk::MergeTreeAutoencoder::outputInit_ = true
protected

Definition at line 124 of file MergeTreeAutoencoder.h.

◆ persCorrelationMatrix_

std::vector<std::vector<double> > ttk::MergeTreeAutoencoder::persCorrelationMatrix_
protected

Definition at line 117 of file MergeTreeAutoencoder.h.

◆ reconstMatchings_

std::vector<std::vector<std::tuple<ftm::idNode, ftm::idNode, double> > > ttk::MergeTreeAutoencoder::reconstMatchings_
protected

Definition at line 112 of file MergeTreeAutoencoder.h.

◆ reconstructionLossWeight_

double ttk::MergeTreeAutoencoder::reconstructionLossWeight_ = 1
protected

Definition at line 61 of file MergeTreeAutoencoder.h.

◆ scaleLayerAfterLatent_

bool ttk::MergeTreeAutoencoder::scaleLayerAfterLatent_ = false
protected

Definition at line 49 of file MergeTreeAutoencoder.h.

◆ t_allVectorCopy_time_

double ttk::MergeTreeAutoencoder::t_allVectorCopy_time_ = 0.0
protected

Definition at line 120 of file MergeTreeAutoencoder.h.

◆ trackingLossDecoding_

bool ttk::MergeTreeAutoencoder::trackingLossDecoding_ = false
protected

Definition at line 73 of file MergeTreeAutoencoder.h.

◆ trackingLossInitRandomness_

double ttk::MergeTreeAutoencoder::trackingLossInitRandomness_ = 0.0
protected

Definition at line 74 of file MergeTreeAutoencoder.h.

◆ trackingLossWeight_

double ttk::MergeTreeAutoencoder::trackingLossWeight_ = 0
protected

Definition at line 62 of file MergeTreeAutoencoder.h.

◆ vS2NoZeroGrad_

std::vector<unsigned int> ttk::MergeTreeAutoencoder::vS2NoZeroGrad_
protected

Definition at line 123 of file MergeTreeAutoencoder.h.

◆ vS2PrimeNoZeroGrad_

std::vector<unsigned int> ttk::MergeTreeAutoencoder::vS2PrimeNoZeroGrad_
protected

Definition at line 123 of file MergeTreeAutoencoder.h.

◆ vSNoZeroGrad_

std::vector<unsigned int> ttk::MergeTreeAutoencoder::vSNoZeroGrad_
protected

Definition at line 122 of file MergeTreeAutoencoder.h.

◆ vSPrimeNoZeroGrad_

std::vector<unsigned int> ttk::MergeTreeAutoencoder::vSPrimeNoZeroGrad_
protected

Definition at line 122 of file MergeTreeAutoencoder.h.


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