topobench.transforms.liftings package#
This module implements the liftings for the topological transforms.
- class AbstractLifting(feature_lifting=None, **kwargs)#
Bases:
BaseTransformAbstract class for topological liftings.
- Parameters:
- feature_liftingstr, optional
The feature lifting method to be used. Default is ‘ProjectionSum’.
- **kwargsoptional
Additional arguments for the class.
- __init__(feature_lifting=None, **kwargs)#
- forward(data)#
Apply the full lifting (topology + features) to the input data.
- Parameters:
- datatorch_geometric.data.Data
The input data to be lifted.
- Returns:
- torch_geometric.data.Data
The lifted data.
- abstract lift_topology(data)#
Lift the topology of a graph to higher-order topological domains.
- Parameters:
- datatorch_geometric.data.Data
The input data to be lifted.
- Returns:
- dict
The lifted topology.
- class CellComplexLifting(feature_lifting='ProjectionSum', **kwargs)#
Bases:
AbstractLiftingAbstract class for lifting cell complexes to other domains.
- Parameters:
- feature_liftingstr, optional
The feature lifting method to be used. Default is ‘ProjectionSum’.
- **kwargsoptional
Additional arguments for the class.
- __init__(feature_lifting='ProjectionSum', **kwargs)#
- class CombinatorialLifting(feature_lifting='ProjectionSum', **kwargs)#
Bases:
AbstractLiftingAbstract class for lifting combinatorial complexes to other domains.
- Parameters:
- feature_liftingstr, optional
The feature lifting method to be used. Default is ‘ProjectionSum’.
- **kwargsoptional
Additional arguments for the class.
- __init__(feature_lifting='ProjectionSum', **kwargs)#
- class GraphLifting(feature_lifting='ProjectionSum', preserve_edge_attr=False, **kwargs)#
Bases:
AbstractLiftingAbstract class for lifting graph topologies to other domains.
- Parameters:
- feature_liftingstr, optional
The feature lifting method to be used. Default is ‘ProjectionSum’.
- preserve_edge_attrbool, optional
Whether to preserve edge attributes. Default is False.
- **kwargsoptional
Additional arguments for the class.
- __init__(feature_lifting='ProjectionSum', preserve_edge_attr=False, **kwargs)#
- class HypergraphLifting(feature_lifting='ProjectionSum', **kwargs)#
Bases:
AbstractLiftingAbstract class for lifting hypergraphs to other domains.
- Parameters:
- feature_liftingstr, optional
The feature lifting method to be used. Default is ‘ProjectionSum’.
- **kwargsoptional
Additional arguments for the class.
- __init__(feature_lifting='ProjectionSum', **kwargs)#
- class PointCloudLifting(feature_lifting='ProjectionSum', **kwargs)#
Bases:
AbstractLiftingAbstract class for lifting point clouds to other topological domains.
- Parameters:
- feature_liftingstr, optional
The feature lifting method to be used. Default is ‘ProjectionSum’.
- **kwargsoptional
Additional arguments for the class.
- __init__(feature_lifting='ProjectionSum', **kwargs)#
- class SimplicialLifting(feature_lifting='ProjectionSum', **kwargs)#
Bases:
AbstractLiftingAbstract class for lifting simplicial complexes to other domains.
- Parameters:
- feature_liftingstr, optional
The feature lifting method to be used. Default is ‘ProjectionSum’.
- **kwargsoptional
Additional arguments for the class.
- __init__(feature_lifting='ProjectionSum', **kwargs)#
Subpackages#
- topobench.transforms.liftings.graph2cell package
- topobench.transforms.liftings.graph2combinatorial package
- topobench.transforms.liftings.graph2hypergraph package
ExpanderGraphLiftingGraph2HypergraphLiftingHypergraphFormanRicciCurvatureLiftingHypergraphKHopLiftingHypergraphKNNLiftingHypergraphKernelLiftingMapperLiftingModularityMaximizationLifting- Submodules
- topobench.transforms.liftings.graph2hypergraph.base module
- topobench.transforms.liftings.graph2hypergraph.expander_graph_lifting module
- topobench.transforms.liftings.graph2hypergraph.forman_ricci_curvature_lifting module
- topobench.transforms.liftings.graph2hypergraph.kernel_lifting module
- topobench.transforms.liftings.graph2hypergraph.khop_lifting module
- topobench.transforms.liftings.graph2hypergraph.knn_lifting module
- topobench.transforms.liftings.graph2hypergraph.mapper_lifting module
- topobench.transforms.liftings.graph2hypergraph.modularity_maximization_lifting module
- topobench.transforms.liftings.graph2simplicial package
Graph2SimplicialLiftingLatentCliqueLiftingNeighborhoodComplexLiftingSimplicialCliqueLiftingSimplicialDnDLiftingSimplicialEccentricityLiftingSimplicialGraphInducedLiftingSimplicialKHopLiftingSimplicialLineLiftingSimplicialVietorisRipsLifting- Submodules
- topobench.transforms.liftings.graph2simplicial.base module
- topobench.transforms.liftings.graph2simplicial.clique_lifting module
- topobench.transforms.liftings.graph2simplicial.dnd_lifting module
- topobench.transforms.liftings.graph2simplicial.eccentricity_lifting module
- topobench.transforms.liftings.graph2simplicial.graph_induced_lifting module
- topobench.transforms.liftings.graph2simplicial.khop_lifting module
- topobench.transforms.liftings.graph2simplicial.latentclique_lifting module
- topobench.transforms.liftings.graph2simplicial.line_lifting module
- topobench.transforms.liftings.graph2simplicial.neighborhood_complex_lifting module
- topobench.transforms.liftings.graph2simplicial.vietoris_rips_lifting module
- topobench.transforms.liftings.hypergraph2combinatorial package
- topobench.transforms.liftings.pointcloud2hypergraph package
MoGMSTLiftingPointCloud2HypergraphLiftingPointNetLiftingVoronoiLifting- Submodules
- topobench.transforms.liftings.pointcloud2simplicial package
AlphaComplexLiftingPointCloud2SimplicialLiftingRandomFlagComplexLifting- Submodules
- topobench.transforms.liftings.simplicial2combinatorial package