roksana.attack_methods.random

RandomAttack Module

This module implements the RandomAttack class for adversarial attacks on graphs by randomly removing edges connected to selected nodes.

Classes:
  • RandomAttack: A class to perform random edge removal attacks on a graph dataset.

Classes

RandomAttack(data, **kwargs)

RandomAttack Class Implements an adversarial attack that randomly removes edges connected to specified nodes in a graph.