SYMBOL INDEX (141 symbols across 11 files) FILE: src/pecanpy/cli.py function parse_args (line 27) | def parse_args(): function check_mode (line 179) | def check_mode(g, args): function read_graph (line 258) | def read_graph(args): function learn_embeddings (line 308) | def learn_embeddings(args, walks): function preprocess (line 329) | def preprocess(g): function simulate_walks (line 335) | def simulate_walks(args, g): function main (line 340) | def main(): FILE: src/pecanpy/experimental.py class Node2vecPlusPlus (line 8) | class Node2vecPlusPlus(Base, DenseRWGraph): method __init__ (line 28) | def __init__(self, *args, **kwargs): method get_move_forward (line 31) | def get_move_forward(self): method get_normalized_probs (line 63) | def get_normalized_probs( FILE: src/pecanpy/graph.py class BaseGraph (line 19) | class BaseGraph: method __init__ (line 28) | def __init__(self): method nodes (line 33) | def nodes(self) -> List[str]: method num_nodes (line 38) | def num_nodes(self) -> int: method num_edges (line 43) | def num_edges(self) -> int: method density (line 51) | def density(self) -> float: method set_node_ids (line 55) | def set_node_ids( method get_has_nbrs (line 99) | def get_has_nbrs(self): method get_move_forward (line 103) | def get_move_forward(self): class AdjlstGraph (line 108) | class AdjlstGraph(BaseGraph): method __init__ (line 138) | def __init__(self): method edges_iter (line 144) | def edges_iter(self) -> Iterator[Tuple[int, int, float]]: method edges (line 151) | def edges(self) -> List[Tuple[int, int, float]]: method num_edges (line 156) | def num_edges(self): method _read_edge_line (line 161) | def _read_edge_line( method _is_valid_edge_weight (line 182) | def _is_valid_edge_weight(id1: str, id2: str, weight: float) -> bool: method _check_edge_existence (line 194) | def _check_edge_existence( method get_node_idx (line 217) | def get_node_idx(self, node_id: str) -> int: method add_node (line 222) | def add_node(self, node_id: str): method _add_edge_from_idx (line 238) | def _add_edge_from_idx(self, idx1: int, idx2: int, weight: float): method add_edge (line 243) | def add_edge( method read (line 270) | def read( method save (line 307) | def save(self, path: str, unweighted: bool = False, delimiter: str = "... method to_csr (line 323) | def to_csr(self) -> CSR: method to_dense (line 343) | def to_dense(self) -> AdjMat: method from_mat (line 365) | def from_mat(cls, adj_mat: AdjMat, node_ids: List[str], **kwargs): class SparseGraph (line 389) | class SparseGraph(BaseGraph): method __init__ (line 409) | def __init__(self): method num_edges (line 416) | def num_edges(self) -> int: method read_edg (line 423) | def read_edg( method read_npz (line 447) | def read_npz(self, path: str, weighted: bool, implicit_ids: bool = Fal... method save (line 488) | def save(self, path: str): method from_adjlst_graph (line 499) | def from_adjlst_graph(cls, adjlst_graph, **kwargs): method from_mat (line 513) | def from_mat(cls, adj_mat: AdjMat, node_ids: List[str], **kwargs): class DenseGraph (line 531) | class DenseGraph(BaseGraph): method __init__ (line 558) | def __init__(self): method num_edges (line 564) | def num_edges(self) -> int: method data (line 572) | def data(self) -> Optional[AdjMat]: method data (line 577) | def data(self, data: AdjMat): method nonzero (line 583) | def nonzero(self) -> Optional[AdjNonZeroMat]: method read_npz (line 587) | def read_npz(self, path: str, weighted: bool, implicit_ids: bool = Fal... method read_edg (line 613) | def read_edg( method save (line 627) | def save(self, path: str): method from_adjlst_graph (line 632) | def from_adjlst_graph(cls, adjlst_graph, **kwargs): method from_mat (line 646) | def from_mat(cls, adj_mat: AdjMat, node_ids: List[str], **kwargs): FILE: src/pecanpy/pecanpy.py class Base (line 27) | class Base(BaseGraph): method __init__ (line 83) | def __init__( method _map_walk (line 103) | def _map_walk(self, walk_idx_ary: Uint32Array) -> List[str]: method simulate_walks (line 116) | def simulate_walks( method _random_walks (line 166) | def _random_walks( method setup_get_normalized_probs (line 212) | def setup_get_normalized_probs(self): method preprocess_transition_probs (line 231) | def preprocess_transition_probs(self): method _preprocess_transition_probs (line 235) | def _preprocess_transition_probs(self): method embed (line 240) | def embed( class FirstOrderUnweighted (line 293) | class FirstOrderUnweighted(Base, SparseRWGraph): method __init__ (line 296) | def __init__(self, *args, **kwargs): method get_move_forward (line 299) | def get_move_forward(self): class PreCompFirstOrder (line 312) | class PreCompFirstOrder(Base, SparseRWGraph): method __init__ (line 315) | def __init__(self, *args, **kwargs): method get_move_forward (line 319) | def get_move_forward(self): method preprocess_transition_probs (line 336) | def preprocess_transition_probs(self): class PreComp (line 364) | class PreComp(Base, SparseRWGraph): method __init__ (line 377) | def __init__(self, *args, **kwargs): method get_move_forward (line 384) | def get_move_forward(self): method preprocess_transition_probs (line 442) | def preprocess_transition_probs(self): class SparseOTF (line 510) | class SparseOTF(Base, SparseRWGraph): method __init__ (line 519) | def __init__(self, *args, **kwargs): method get_move_forward (line 522) | def get_move_forward(self): class DenseOTF (line 564) | class DenseOTF(Base, DenseRWGraph): method __init__ (line 573) | def __init__(self, *args, **kwargs): method get_move_forward (line 576) | def get_move_forward(self): function alias_setup (line 618) | def alias_setup(probs): function alias_draw (line 669) | def alias_draw(j, q): FILE: src/pecanpy/rw/dense_rw.py class DenseRWGraph (line 8) | class DenseRWGraph(DenseGraph): method get_noise_thresholds (line 11) | def get_noise_thresholds(self): method get_has_nbrs (line 21) | def get_has_nbrs(self): method get_normalized_probs (line 36) | def get_normalized_probs( method get_extended_normalized_probs (line 76) | def get_extended_normalized_probs( FILE: src/pecanpy/rw/sparse_rw.py class SparseRWGraph (line 9) | class SparseRWGraph(SparseGraph): method get_has_nbrs (line 12) | def get_has_nbrs(self): method get_noise_thresholds (line 22) | def get_noise_thresholds(self): method get_normalized_probs_first_order (line 39) | def get_normalized_probs_first_order(data, indices, indptr, cur_idx): method get_normalized_probs (line 53) | def get_normalized_probs( method get_extended_normalized_probs (line 95) | def get_extended_normalized_probs( function get_nbrs (line 134) | def get_nbrs(indptr, indices, data, idx): function isnotin (line 143) | def isnotin(ptr_ary1, ptr_ary2): function isnotin_extended (line 234) | def isnotin_extended(ptr_ary1, ptr_ary2, wts_ary2, noise_thresholds): FILE: src/pecanpy/wrappers.py class Timer (line 5) | class Timer: method __init__ (line 8) | def __init__(self, name, verbose=True): method __call__ (line 12) | def __call__(self, func): FILE: test/test_cli.py class TestCli (line 32) | class TestCli(unittest.TestCase): method setUpClass (line 34) | def setUpClass(cls): method tearDownClass (line 39) | def tearDownClass(cls): method setUp (line 46) | def setUp(self): method tearDown (line 54) | def tearDown(self): method execute (line 59) | def execute(self, mode, input_file, p=1, q=1): method test_firstorderunweighted_catch (line 69) | def test_firstorderunweighted_catch(self): method test_precompfirstorder_catch (line 75) | def test_precompfirstorder_catch(self): method test_from_edg (line 82) | def test_from_edg(self, name): method test_from_npz (line 86) | def test_from_npz(self, name): FILE: test/test_graph.py class TestBaseGraph (line 82) | class TestBaseGraph(unittest.TestCase): method setUp (line 83) | def setUp(self): method test_set_node_ids (line 87) | def test_set_node_ids(self): method test_properties (line 91) | def test_properties(self): class TestAdjlstGraph (line 99) | class TestAdjlstGraph(unittest.TestCase): method setUp (line 100) | def setUp(self): method tearDown (line 105) | def tearDown(self): method test_from_mat (line 110) | def test_from_mat(self): method test_properties (line 120) | def test_properties(self): method test_edges (line 133) | def test_edges(self): method test_save (line 158) | def test_save(self): class TestSparseGraph (line 205) | class TestSparseGraph(unittest.TestCase): method tearDown (line 206) | def tearDown(self): method validate (line 211) | def validate(self): method test_from_mat (line 236) | def test_from_mat(self): method test_from_adjlst_graph (line 242) | def test_from_adjlst_graph(self): class TestDenseGraph (line 249) | class TestDenseGraph(unittest.TestCase): method tearDown (line 250) | def tearDown(self): method validate (line 254) | def validate(self): method test_from_mat (line 273) | def test_from_mat(self): method test_from_adjlst_graph (line 279) | def test_from_adjlst_graph(self): function test_csr_from_scipy (line 287) | def test_csr_from_scipy(tmpdir): function test_implicit_ids (line 321) | def test_implicit_ids(implicit_ids, graph_factory): function karate_graph_converted (line 336) | def karate_graph_converted(pytestconfig, tmpdir_factory): FILE: test/test_pecanpy.py class TestPecanPy (line 22) | class TestPecanPy(unittest.TestCase): method setUpClass (line 24) | def setUpClass(self): method test_from_mat (line 31) | def test_from_mat(self, name, mode): method test_from_edg (line 37) | def test_from_edg(self, name, mode): FILE: test/test_walk.py class TestWalk (line 85) | class TestWalk(unittest.TestCase): method test_first_order_unweighted (line 95) | def test_first_order_unweighted(self, name, mode):