The node clique numnber module

Node clique number class.

class hcga.features.node_clique_number.NodeCliqueNumber(graph=None)[source]

Node clique number class.

Features based on the size of the largest maximal clique containing each node.

Clique number calculations using networkx:

Networkx_clique

Initialise a feature class.

Parameters

graph (Graph) – graph for initialisation, converted to given encoding

compute_features()[source]

Main feature extraction function.

This function should be used by each specific feature class to add new features.

hcga.features.node_clique_number.clique_sizes(graph)[source]