pygip.models.attack.Realistic¶
Classes
|
DGL version of edge prediction module |
|
DGL version of surrogate model |
|
DGL-based GNN model extraction attack |
- class pygip.models.attack.Realistic.DGLEdgePredictor(*args: Any, **kwargs: Any)[source]¶
Bases:
Module
DGL version of edge prediction module
- class pygip.models.attack.Realistic.DGLSurrogateModel(*args: Any, **kwargs: Any)[source]¶
Bases:
Module
DGL version of surrogate model
- class pygip.models.attack.Realistic.RealisticAttack(dataset, attack_node_fraction, model_path=None, hidden_dim=64, threshold_s=0.7, threshold_a=0.5)[source]¶
Bases:
BaseAttack
DGL-based GNN model extraction attack
- _abc_impl = <_abc_data object>¶
- add_potential_edges(candidate_edges, labeled_nodes)[source]¶
Add potential edges based on edge prediction results
- simulate_target_model_queries(query_nodes, error_rate=0.15)[source]¶
Simulate target model queries with a certain proportion of incorrect labels
- supported_api_types = {'dgl'}¶
- supported_datasets = {}¶