{
  "_id": "6a103723acfb0bcc41c9a3aa",
  "Package": "INCVCommunityDetection",
  "Type": "Package",
  "Title": "Inductive Node-Splitting Cross-Validation for Community\nDetection",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Lin\", \"Zhang\", email = \"linzhang1126@gmail.com\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Bokai\", \"Yang\", role = \"aut\"))",
  "Description": "Implements Inductive Node-Splitting Cross-Validation\n(INCV) for selecting the number of communities in stochastic\nblock models. Provides f-fold and random-split node-level\ncross-validation, along with competing methods including\nCROISSANT, Edge Cross-Validation (ECV), and Node\nCross-Validation (NCV). Supports both SBM and Degree-Corrected\nBlock Models (DCBM), with multiple loss functions (L2, binomial\ndeviance, AUC). Includes network simulation utilities for SBM,\nRDPG, and latent space models.",
  "URL": "https://github.com/ivylinzhang97/incv-community-detection",
  "BugReports": "https://github.com/ivylinzhang97/incv-community-detection/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libgmp3-dev make",
  "Repository": "https://ivylinzhang97.r-universe.dev",
  "Date/Publication": "2026-03-08 04:37:45 UTC",
  "RemoteUrl": "https://github.com/ivylinzhang97/incv-community-detection",
  "RemoteRef": "HEAD",
  "RemoteSha": "829a0cf1002e944c7a68326c42c884c064c1c95a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 06:33:50 UTC",
    "User": "root"
  },
  "Author": "Lin Zhang [aut, cre],\nBokai Yang [aut]",
  "Maintainer": "Lin Zhang <linzhang1126@gmail.com>",
  "MD5sum": "f06d400b767259feacb15ec663f30131",
  "_user": "ivylinzhang97",
  "_type": "src",
  "_file": "INCVCommunityDetection_0.1.0.tar.gz",
  "_fileid": "5656a60e48f5765cf515128c2b292751fb96a7dfaa50096cc0630e5f9e3a2d29",
  "_filesize": 333373,
  "_sha256": "5656a60e48f5765cf515128c2b292751fb96a7dfaa50096cc0630e5f9e3a2d29",
  "_created": "2026-05-12T06:33:50.000Z",
  "_published": "2026-05-22T10:59:47.078Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77366213774,
      "time": 199,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6937315162"
    },
    {
      "job": 77366213858,
      "time": 195,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937314331"
    },
    {
      "job": 77366213337,
      "time": 211,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6937311633"
    },
    {
      "job": 77366213718,
      "time": 204,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937310153"
    },
    {
      "job": 77366212784,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937265130"
    },
    {
      "job": 77366212960,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158884760"
    },
    {
      "job": 77366213368,
      "time": 147,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6937302627"
    },
    {
      "job": 77366213771,
      "time": 145,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6937302443"
    },
    {
      "job": 77366213645,
      "time": 186,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937312138"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ivylinzhang97/actions/runs/25717623032",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ivylinzhang97/incv-community-detection",
  "_commit": {
    "id": "829a0cf1002e944c7a68326c42c884c064c1c95a",
    "author": "Lin Zhang <linzhang@Lins-MacBook-Air.local>",
    "committer": "Lin Zhang <linzhang@Lins-MacBook-Air.local>",
    "message": "Update Python nscv_random_split to return k_loss, k_mse, cv_mse\n\nSync Python package with updated main.R: nscv_random_split now\ncomputes MSE alongside NLL, matching nscv_f_fold's return signature.\n\nMade-with: Cursor\n",
    "time": 1772944665
  },
  "_maintainer": {
    "name": "Lin Zhang",
    "email": "linzhang1126@gmail.com",
    "login": "lzhang-clgx",
    "uuid": 122946912
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "RSpectra",
      "role": "Imports"
    },
    {
      "package": "ClusterR",
      "role": "Imports"
    },
    {
      "package": "irlba",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "cluster",
      "role": "Imports"
    },
    {
      "package": "Rfast",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "IMIFA",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "latentnet",
      "role": "Suggests"
    },
    {
      "package": "network",
      "role": "Suggests"
    },
    {
      "package": "rdist",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "ivylinzhang97",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-10",
      "n": 10
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 266245903,
    "type": "user",
    "name": "ivylinzhang97"
  },
  "_downloads": {
    "count": 169,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/INCVCommunityDetection"
  },
  "_devurl": "https://github.com/ivylinzhang97/incv-community-detection",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/INCVCommunityDetection.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ivylinzhang97/incv-community-detection",
  "_realowner": "ivylinzhang97",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-03-12"
    }
  ],
  "_exports": [
    "AUC",
    "best.perm.label.match",
    "bin.dev",
    "blockmodel.gen.fast",
    "community.sim",
    "community.sim.sbm",
    "croissant.blockmodel",
    "croissant.latent",
    "croissant.rdpg",
    "croissant.tune.regsp",
    "ECV.for.blockmodel",
    "ECV.undirected.Rank",
    "edge.index.map",
    "eigen.DCBM.est",
    "fast.DCBM.est",
    "fast.SBM.est",
    "l2",
    "latent.gen",
    "matched.lab",
    "NCV.for.blockmodel",
    "neglog",
    "nscv.f.fold",
    "nscv.random.split",
    "SBM.prob",
    "SBM.spectral.clustering",
    "sparse.RDPG.gen"
  ],
  "_help": [
    {
      "page": "AUC",
      "title": "Negative AUC for matrix predictions",
      "topics": [
        "AUC"
      ]
    },
    {
      "page": "best.perm.label.match",
      "title": "Find the best permutation label matching",
      "topics": [
        "best.perm.label.match"
      ]
    },
    {
      "page": "bin.dev",
      "title": "Binomial deviance loss",
      "topics": [
        "bin.dev"
      ]
    },
    {
      "page": "blockmodel.gen.fast",
      "title": "Generate a fast SBM or DCBM network (sparse)",
      "topics": [
        "blockmodel.gen.fast"
      ]
    },
    {
      "page": "community.sim",
      "title": "Simulate a Stochastic Block Model network",
      "topics": [
        "community.sim"
      ]
    },
    {
      "page": "community.sim.sbm",
      "title": "Simulate an SBM with distance-decaying block probabilities",
      "topics": [
        "community.sim.sbm"
      ]
    },
    {
      "page": "croissant.blockmodel",
      "title": "CROISSANT for blockmodel selection",
      "topics": [
        "croissant.blockmodel"
      ]
    },
    {
      "page": "croissant.latent",
      "title": "CROISSANT for latent space model dimension selection",
      "topics": [
        "croissant.latent"
      ]
    },
    {
      "page": "croissant.rdpg",
      "title": "CROISSANT for RDPG rank selection",
      "topics": [
        "croissant.rdpg"
      ]
    },
    {
      "page": "croissant.tune.regsp",
      "title": "CROISSANT for regularisation parameter tuning in spectral methods",
      "topics": [
        "croissant.tune.regsp"
      ]
    },
    {
      "page": "ECV.for.blockmodel",
      "title": "Edge Cross-Validation for blockmodel selection",
      "topics": [
        "ECV.for.blockmodel"
      ]
    },
    {
      "page": "ECV.undirected.Rank",
      "title": "Edge Cross-Validation for RDPG rank selection",
      "topics": [
        "ECV.undirected.Rank"
      ]
    },
    {
      "page": "edge.index.map",
      "title": "Map a linear edge index to row-column indices in the upper triangle",
      "topics": [
        "edge.index.map"
      ]
    },
    {
      "page": "eigen.DCBM.est",
      "title": "Eigenvector-based DCBM estimation",
      "topics": [
        "eigen.DCBM.est"
      ]
    },
    {
      "page": "fast.DCBM.est",
      "title": "Fast DCBM parameter estimation",
      "topics": [
        "fast.DCBM.est"
      ]
    },
    {
      "page": "fast.SBM.est",
      "title": "Fast SBM block probability estimation",
      "topics": [
        "fast.SBM.est"
      ]
    },
    {
      "page": "l2",
      "title": "L2 loss between two matrices",
      "topics": [
        "l2"
      ]
    },
    {
      "page": "latent.gen",
      "title": "Generate a latent space network",
      "topics": [
        "latent.gen"
      ]
    },
    {
      "page": "matched.lab",
      "title": "Apply label permutation to match reference",
      "topics": [
        "matched.lab"
      ]
    },
    {
      "page": "NCV.for.blockmodel",
      "title": "Node Cross-Validation for blockmodel selection",
      "topics": [
        "NCV.for.blockmodel"
      ]
    },
    {
      "page": "neglog",
      "title": "Safe negative log-likelihood term",
      "topics": [
        "neglog"
      ]
    },
    {
      "page": "nscv.f.fold",
      "title": "Inductive Node-Splitting Cross-Validation with f-fold splitting",
      "topics": [
        "nscv.f.fold"
      ]
    },
    {
      "page": "nscv.random.split",
      "title": "Inductive Node-Splitting Cross-Validation with random node splits",
      "topics": [
        "nscv.random.split"
      ]
    },
    {
      "page": "SBM.prob",
      "title": "Estimate SBM connection probabilities and negative log-likelihood",
      "topics": [
        "SBM.prob"
      ]
    },
    {
      "page": "SBM.spectral.clustering",
      "title": "Spectral clustering for a Stochastic Block Model",
      "topics": [
        "SBM.spectral.clustering"
      ]
    },
    {
      "page": "sparse.RDPG.gen",
      "title": "Generate a sparse RDPG network",
      "topics": [
        "sparse.RDPG.gen"
      ]
    }
  ],
  "_readme": "https://github.com/ivylinzhang97/incv-community-detection/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cli",
    "cluster",
    "ClusterR",
    "cpp11",
    "data.table",
    "farver",
    "ggplot2",
    "glue",
    "gmp",
    "gtable",
    "IMIFA",
    "irlba",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "matrixStats",
    "mclust",
    "mvnfast",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "Rfast",
    "rlang",
    "RSpectra",
    "S7",
    "scales",
    "slam",
    "vctrs",
    "viridisLite",
    "withr",
    "zigg"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to INCVCommunityDetection",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Simulating a network",
        "Selecting K with INCV (f-fold)",
        "Selecting K with INCV (random split)",
        "Comparing with ECV and NCV",
        "Edge Cross-Validation",
        "Node Cross-Validation",
        "Summary of methods",
        "Spectral clustering and probability estimation",
        "Distance-decaying SBM simulation",
        "Session info"
      ],
      "created": "2026-03-07 07:45:29",
      "modified": "2026-03-08 04:32:43",
      "commits": 3
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "incvcommunitydetection",
  "_universes": [
    "ivylinzhang97",
    "lzhang-clgx"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-12T06:36:33.000Z",
      "distro": "noble",
      "commit": "829a0cf1002e944c7a68326c42c884c064c1c95a",
      "fileid": "b5a1a68975f08a9f89e147cd88169b0208eef36d065ca4162cf3f7182b07503b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ivylinzhang97/actions/runs/25717623032"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-12T06:36:29.000Z",
      "distro": "noble",
      "commit": "829a0cf1002e944c7a68326c42c884c064c1c95a",
      "fileid": "abfed96f61f09b67a94aaa5ce6ef8a44f192f10707e81bbd7926990aec14331c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ivylinzhang97/actions/runs/25717623032"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-12T06:36:31.000Z",
      "commit": "829a0cf1002e944c7a68326c42c884c064c1c95a",
      "fileid": "ecb32cefd2f409606e748def8a1dcee6a11af22c199cf1ab984213b8c000fdbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ivylinzhang97/actions/runs/25717623032"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-12T06:36:24.000Z",
      "commit": "829a0cf1002e944c7a68326c42c884c064c1c95a",
      "fileid": "0ecb4fc172fa24831ab9c14826cbc5834ad336d8620505b4e3f6dac5283b9dfd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ivylinzhang97/actions/runs/25717623032"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-12T06:35:41.000Z",
      "commit": "829a0cf1002e944c7a68326c42c884c064c1c95a",
      "fileid": "dd07b0684a98a7a3468bf5d665737d9d054fd4b792b64ffc365649cc7f949ec1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ivylinzhang97/actions/runs/25717623032"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-12T06:35:35.000Z",
      "commit": "829a0cf1002e944c7a68326c42c884c064c1c95a",
      "fileid": "fec389fec56b6ce1d487c69474446fd513ff9f9bda862527bf5f19b2131a046a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ivylinzhang97/actions/runs/25717623032"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-12T06:36:25.000Z",
      "commit": "829a0cf1002e944c7a68326c42c884c064c1c95a",
      "fileid": "0060ba66d327b8929913a07c24006df5c73342e0927885990187792aac79e504",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ivylinzhang97/actions/runs/25717623032"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-22T10:59:31.000Z",
      "commit": "829a0cf1002e944c7a68326c42c884c064c1c95a",
      "fileid": "ffc2270ec52c867fd71620c75880ff1b7c2f97880381eb9a5da074657eaf3953",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ivylinzhang97/actions/runs/25717623032"
    }
  ]
}