Package: hypergraphs 0.7.5
hypergraphs: Higher-Order Network Analysis
Build and analyze higher-order networks, in which a relation can involve more than two nodes or can depend on more than the current node. Covers the three structure families of the higher-order network literature Battiston et al. (2020) <doi:10.1016/j.physrep.2020.05.004>, plus a text family that reads a corpus as a hypergraph. Every object is read through one accessor, and every sequence-taking verb reads long, wide, list or model input. Memory networks from categorical sequences: higher-order networks with rule extraction Xu, Wickramarathne, and Chawla (2016) <doi:10.1126/sciadv.1600028>, higher-order network embedding Saebi et al. (2020) <doi:10.1089/big.2019.0169>, hypergeometric path anomaly detection LaRock et al. (2020) <doi:10.1137/1.9781611976236.52>, the multi-order generative model Scholtes (2017) <doi:10.1145/3097983.3098145>, higher-order centralities Scholtes, Wider, and Garas (2016) <doi:10.1140/epjb/e2016-60663-0>, a permutation-based Markov order test, a path-dependence diagnostic, and bootstrap and permutation inference for extracted rules. Simplicial complexes: clique, Vietoris-Rips and pathway complexes, Betti numbers, persistent homology, persistence landscapes, bottleneck and Wasserstein distances, and q-analysis. Hypergraphs: construction from network cliques, sliding windows over sequences, bipartite group membership, or embedding nearest neighbours; structural measures; tensor eigenvector centralities Benson (2019) <doi:10.1137/18M1203031>; PageRank with edge-dependent vertex weights Chitra and Raphael (2019) <doi:10.48550/arXiv.1905.08287>; the weighted normalized hypergraph Laplacian of Zhou, Huang, and Scholkopf (2006) <doi:10.7551/mitpress/7503.003.0205> with spectral, symmetric non-negative matrix factorization (NMF), and joint-NMF clustering Hayashi et al. (2020) <doi:10.1145/3340531.3412034> and transductive label spreading; projections to weighted graphs and s-line graphs; Bernoulli-incidence, stochastic-block, uniform and regular random generators; temporal snapshots; hyperedge betweenness and closeness; Infomap ensembles with adjusted- mutual-information medoid selection; Y/T/O motif profiles and null models by degree-preserving swaps and the configuration model; and hypergraph neural networks in native 'torch': the hypergraph neural network (HGNN), hypergraph attention networks (HyperGAT and its heterogeneous variant), the hypergraph convolutional network (HyperGCN), hypergraph networks with hyperedge neurons (HNHN), AllDeepSets and AllSetTransformer. Text hypergraphs: a corpus becomes a weighted document-word hypergraph in either orientation (bag of words with smoothed term frequency-inverse document frequency (tf-idf), token windows, or embedding nearest neighbours), analysed with tidy verbs for clustering, keyword extraction, few-label classification, and null testing.
Authors:
hypergraphs_0.7.5.tar.gz
hypergraphs_0.7.5.zip(r-4.7-any)hypergraphs_0.7.5.zip(r-4.6-any)hypergraphs_0.7.5.zip(r-4.5-any)
hypergraphs_0.7.5.tgz(r-4.6-any)hypergraphs_0.7.5.tgz(r-4.5-any)
hypergraphs_0.7.5.tar.gz(r-4.7-any)hypergraphs_0.7.5.tar.gz(r-4.6-any)
hypergraphs_0.7.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
hypergraphs/json (API)
| # Install 'hypergraphs' in R: |
| install.packages('hypergraphs', repos = c('https://mohsaqr.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mohsaqr/hypergraphs/issues
Pkgdown/docs site:https://pak.dynasite.org
- ai_long - Human-AI Vibe Coding Interaction Data
- covid_abstracts - COVID-19 education research abstracts
- covid_embeddings - Sentence embeddings of the COVID-19 abstracts
- covid_sample - A random sample of 1,000 COVID-19 education research abstracts
- forum_posts - Simulated forum posts whose topics follow second-order memory
- gfcc_citations - Citation blocks of the German Federal Constitutional Court
- gfcc_decisions - Decisions of the German Federal Constitutional Court
- human_long - Human-AI Vibe Coding Interaction Data
- icsid_tribunals - ICSID arbitration tribunals, one row per seat
- ring_communities - Planted communities of the ring sequences
- ring_sequences - Simulated sequences with planted memory modules
- tutoring_events - Problem steps of learners with a tutor
Last updated from:9ec1d27f7a. Checks:7 ERROR, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | ERROR | 310 | ||
| source / vignettes | OK | 458 | ||
| linux-release | ERROR | 270 | ||
| macos-release | ERROR | 205 | ||
| macos-oldrel | ERROR | 244 | ||
| windows-devel | ERROR | 420 | ||
| windows-release | ERROR | 355 | ||
| windows-oldrel | ERROR | 340 | ||
| wasm-release | OK | 123 |
Exports:clean_textdual_hypergraphgroup_hypergraphheterogeneous_hgathg_agreementhg_allsethg_assortativityhg_bettihg_bootstraphg_bottleneckhg_centralityhg_classifyhg_clusterhg_coclusterhg_communitieshg_community_qualityhg_comparehg_compare_communitieshg_degreehg_degree_correlationhg_dictionaryhg_edge_centralityhg_edgeshg_embedhg_eulerhg_gethg_growthhg_hnhnhg_homologyhg_hypergathg_hypergcnhg_joint_clusterhg_keywordshg_landscapehg_laplacianhg_line_graphhg_markov_stabilityhg_measureshg_membershiphg_mmsbmhg_modularityhg_motifshg_neuralhg_null_testhg_pagerankhg_qanalysishg_representationshg_seedshg_sequenceshg_snapshothg_snapshotshg_stabilityhg_subsethg_topic_qualityhg_topic_searchhg_topic_sizeshg_topicshg_transitivityhg_wassersteinhonhonemhypahypergraphknn_hypergraphmarkov_ordermemorymogennetwork_hypergraphpairwise_networkrandom_hypergraphsimplicialstop_words_entemporal_hypergraphtext_hypergattext_hypergraphtopic_networkwindow_hypergraph
Dependencies:brglm2cliclustercographcpp11data.tableenrichwithfarverggplot2gluegtableidiographicisobandlabelinglatticelifecycleMASSMatrixNestimatenleqslvnnetnumDerivpsychnetsR6RColorBrewerRcppRcppEigenrlangRSpectraS7scalesstatmodvctrsviridisLitewithr