{
  "_id": "6a25caff794753ddbc3e072d",
  "Package": "bnns",
  "Title": "Bayesian Neural Network with 'Stan'",
  "Version": "1.0.0",
  "Authors@R": "person(\"Swarnendu\", \"Chatterjee\", , \"swarnendu.stat@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Offers a flexible formula-based interface for building and\ntraining Bayesian Neural Networks powered by 'Stan'. The\npackage supports modeling complex relationships while providing\nrigorous uncertainty quantification via posterior\ndistributions. With features like user chosen priors, clear\npredictions, and support for regression, binary, and\nmulti-class classification, it is well-suited for applications\nin clinical trials, finance, and other fields requiring robust\nBayesian inference and decision-making. References: Neal(1996)\n<doi:10.1007/978-1-4612-0745-0>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/swarnendu-stat/bnns,\nhttps://swarnendu-stat.github.io/bnns/",
  "BugReports": "https://github.com/swarnendu-stat/bnns/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "rmarkdown",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "make",
  "Repository": "https://swarnendu-stat.r-universe.dev",
  "Date/Publication": "2026-06-07 18:15:07 UTC",
  "RemoteUrl": "https://github.com/swarnendu-stat/bnns",
  "RemoteRef": "HEAD",
  "RemoteSha": "8e47d4dac43d661e4c75019c1b36713faa800945",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-07 19:44:23 UTC",
    "User": "root"
  },
  "Author": "Swarnendu Chatterjee [aut, cre, cph]",
  "Maintainer": "Swarnendu Chatterjee <swarnendu.stat@gmail.com>",
  "MD5sum": "9a19c5f12ac2d88633ff189f5f3912cd",
  "_user": "swarnendu-stat",
  "_type": "src",
  "_file": "bnns_1.0.0.tar.gz",
  "_fileid": "d08e2b1aa24bcd5da14bb8f65343c891b81ccb345ab9a9ad93772176e6c0b959",
  "_filesize": 295987,
  "_sha256": "d08e2b1aa24bcd5da14bb8f65343c891b81ccb345ab9a9ad93772176e6c0b959",
  "_created": "2026-06-07T19:44:23.000Z",
  "_published": "2026-06-07T19:48:15.224Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79986652739,
      "time": 189,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7467383828"
    },
    {
      "job": 79986652720,
      "time": 199,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7467384989"
    },
    {
      "job": 79986652729,
      "time": 123,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7467375820"
    },
    {
      "job": 79986652722,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7467375233"
    },
    {
      "job": 79986431977,
      "time": 214,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7467360393"
    },
    {
      "job": 79986652708,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7467378343"
    },
    {
      "job": 79986652746,
      "time": 172,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7467382322"
    },
    {
      "job": 79986652716,
      "time": 159,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7467380194"
    },
    {
      "job": 79986652725,
      "time": 137,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7467377622"
    }
  ],
  "_buildurl": "https://github.com/r-universe/swarnendu-stat/actions/runs/27102771903",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/swarnendu-stat/bnns",
  "_commit": {
    "id": "8e47d4dac43d661e4c75019c1b36713faa800945",
    "author": "swarnendu-stat <swarnendu.stat@gmail.com>",
    "committer": "swarnendu-stat <swarnendu.stat@gmail.com>",
    "message": "Revising for CRAN\n",
    "time": 1780856107
  },
  "_maintainer": {
    "name": "Swarnendu Chatterjee",
    "email": "swarnendu.stat@gmail.com",
    "login": "swarnendu-stat",
    "linkedin": "in/swarnendu-stat",
    "description": "🚀 Statistician | R Enthusiast | Automation Innovator\n🔬 Passionate about statistical modeling, clinical trials, and data-driven problem-solving.\n💻 Developer",
    "uuid": 5587040
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "loo",
      "role": "Imports"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "RcppEigen",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "bayesplot",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "dials",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mlbench",
      "role": "Suggests"
    },
    {
      "package": "OpenCL",
      "role": "Suggests"
    },
    {
      "package": "parsnip",
      "version": ">= 1.0.0",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "recipes",
      "role": "Suggests"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rsample",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidymodels",
      "role": "Suggests"
    },
    {
      "package": "tune",
      "role": "Suggests"
    },
    {
      "package": "workflows",
      "role": "Suggests"
    }
  ],
  "_owner": "swarnendu-stat",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 25
    }
  ],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "swarnendu-stat",
      "count": 83,
      "uuid": 5587040
    }
  ],
  "_userbio": {
    "uuid": 5587040,
    "type": "user",
    "name": "swarnendu chatterjee",
    "description": "🚀 Statistician | R Enthusiast | Automation Innovator\r\n🔬 Passionate about statistical modeling, clinical trials, and data-driven problem-solving.\r\n💻 Developer"
  },
  "_downloads": {
    "count": 178,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bnns"
  },
  "_devurl": "https://github.com/swarnendu-stat/bnns",
  "_pkgdown": "https://swarnendu-stat.github.io/bnns/",
  "_searchresults": 55,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bnns.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/swarnendu-stat/bnns",
  "_realowner": "swarnendu-stat",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2025-01-13"
    }
  ],
  "_exports": [
    "act_fn",
    "bnns",
    "bnns_train",
    "chains",
    "iter",
    "L",
    "load_bnns",
    "measure_bin",
    "measure_cat",
    "measure_cont",
    "nodes",
    "opencl_diagnostics",
    "relu",
    "save_bnns",
    "sigmoid",
    "softmax_3d",
    "softplus",
    "warmup"
  ],
  "_help": [
    {
      "page": "bnns",
      "title": "Generic Function for Fitting Bayesian Neural Network Models",
      "topics": [
        "bnns"
      ]
    },
    {
      "page": "bnns_params",
      "title": "Parameter functions for Bayesian Neural Networks",
      "topics": [
        "act_fn",
        "bnns_params",
        "chains",
        "iter",
        "L",
        "nodes",
        "warmup"
      ]
    },
    {
      "page": "bnns.default",
      "title": "Bayesian Neural Network Model Using Formula(default) Interface",
      "topics": [
        "bnns.default"
      ]
    },
    {
      "page": "load_bnns",
      "title": "Load a fitted bnns model from disk",
      "topics": [
        "load_bnns"
      ]
    },
    {
      "page": "loo.bnns",
      "title": "Leave-One-Out Cross-Validation (LOO) for bnns models",
      "topics": [
        "loo.bnns"
      ]
    },
    {
      "page": "measure_bin",
      "title": "Measure Performance for Binary Classification Models",
      "topics": [
        "measure_bin"
      ]
    },
    {
      "page": "measure_cat",
      "title": "Measure Performance for Multi-Class Classification Models",
      "topics": [
        "measure_cat"
      ]
    },
    {
      "page": "measure_cont",
      "title": "Measure Performance for Continuous Response Models",
      "topics": [
        "measure_cont"
      ]
    },
    {
      "page": "opencl_diagnostics",
      "title": "OpenCL Diagnostic Information",
      "topics": [
        "opencl_diagnostics"
      ]
    },
    {
      "page": "plot.bnns",
      "title": "Plot diagnostics for a fitted Bayesian Neural Network",
      "topics": [
        "plot.bnns"
      ]
    },
    {
      "page": "predict.bnns",
      "title": "Predictions from a fitted Bayesian Neural Network",
      "topics": [
        "predict.bnns"
      ]
    },
    {
      "page": "print.bnns",
      "title": "Print Method for '\"bnns\"' Objects",
      "topics": [
        "print.bnns"
      ]
    },
    {
      "page": "relu",
      "title": "relu transformation",
      "topics": [
        "relu"
      ]
    },
    {
      "page": "save_bnns",
      "title": "Save a fitted bnns model to disk",
      "topics": [
        "save_bnns"
      ]
    },
    {
      "page": "sigmoid",
      "title": "sigmoid transformation",
      "topics": [
        "sigmoid"
      ]
    },
    {
      "page": "softmax_3d",
      "title": "Apply Softmax Function to a 3D Array",
      "topics": [
        "softmax_3d"
      ]
    },
    {
      "page": "softplus",
      "title": "softplus transformation",
      "topics": [
        "softplus"
      ]
    },
    {
      "page": "summary.bnns",
      "title": "Summary of a Bayesian Neural Network (BNN) Model",
      "topics": [
        "summary.bnns"
      ]
    },
    {
      "page": "waic.bnns",
      "title": "Watanabe-Akaike Information Criterion (WAIC) for bnns models",
      "topics": [
        "waic.bnns"
      ]
    }
  ],
  "_pkglogo": "https://github.com/swarnendu-stat/bnns/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/swarnendu-stat/bnns/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "digest",
    "distributional",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "pROC",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "bnns.Rmd",
      "filename": "bnns.html",
      "title": "bnns",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "1. Installation",
        "2. Preparing the Data",
        "3. Fitting a Bayesian Neural Network Model",
        "Regression Example",
        "Binary Classification Example",
        "Multiclass Classification Example",
        "4. Summarizing the Model",
        "5. Making Predictions",
        "6. Evaluating the Model",
        "Regression Evaluation",
        "Binary Classification Evaluation",
        "Multiclass Classification Evaluation",
        "7. Customized Prior",
        "8. Notes on Bayesian Neural Networks",
        "References"
      ],
      "created": "2024-12-23 16:48:01",
      "modified": "2026-06-07 18:15:07",
      "commits": 10
    },
    {
      "source": "tidymodels.Rmd",
      "filename": "tidymodels.html",
      "title": "Using bnns with tidymodels",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Setup",
        "Regression",
        "1. Specify the Model",
        "2. Create a Workflow and Fit",
        "3. Predict",
        "Classification",
        "3. Predict Classes and Probabilities"
      ],
      "created": "2026-06-04 06:13:33",
      "modified": "2026-06-04 06:13:33",
      "commits": 1
    }
  ],
  "_score": 5.342422680822207,
  "_indexed": true,
  "_nocasepkg": "bnns",
  "_universes": [
    "swarnendu-stat"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-07T19:47:15.000Z",
      "distro": "noble",
      "commit": "8e47d4dac43d661e4c75019c1b36713faa800945",
      "fileid": "f83ef3f05c8f8a7926f083eb9243063cdf630337907298e55e08425fb8c22ca2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swarnendu-stat/actions/runs/27102771903"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-07T19:47:22.000Z",
      "distro": "noble",
      "commit": "8e47d4dac43d661e4c75019c1b36713faa800945",
      "fileid": "a77259b54c980312839b00216281a5a902262e2b49dcb2e9e75c23327dc5f064",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swarnendu-stat/actions/runs/27102771903"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-07T19:46:12.000Z",
      "commit": "8e47d4dac43d661e4c75019c1b36713faa800945",
      "fileid": "c015783f75eec1ad83102fa30a5af32ae744f5c279df4daa3682baff4011b07c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swarnendu-stat/actions/runs/27102771903"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-07T19:46:11.000Z",
      "commit": "8e47d4dac43d661e4c75019c1b36713faa800945",
      "fileid": "ec758c1b9bb76c3caf56b143a324758ea72c826b301f2fccdc64597f986ae3eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swarnendu-stat/actions/runs/27102771903"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-07T19:47:06.000Z",
      "commit": "8e47d4dac43d661e4c75019c1b36713faa800945",
      "fileid": "f33f81d79653ac06a71953b7f1da3250ca217aa0a09f9b64ad137b53b5dab964",
      "status": "success",
      "buildurl": "https://github.com/r-universe/swarnendu-stat/actions/runs/27102771903"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-07T19:46:55.000Z",
      "commit": "8e47d4dac43d661e4c75019c1b36713faa800945",
      "fileid": "a42fe59b7728c1567b956ec2757530501b08fa61398de1fd351cd42224d63ea1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swarnendu-stat/actions/runs/27102771903"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-07T19:46:32.000Z",
      "commit": "8e47d4dac43d661e4c75019c1b36713faa800945",
      "fileid": "a4267c9c350d8f11607bac961c883bb60e9a097b826e8168f4ccf0f05c0ea835",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swarnendu-stat/actions/runs/27102771903"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-07T19:46:15.000Z",
      "commit": "8e47d4dac43d661e4c75019c1b36713faa800945",
      "fileid": "45fbf4acf6ca7a48cdadf6c3e74b0e34a00da33b0bfb94cf033feef3ac4a5052",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swarnendu-stat/actions/runs/27102771903"
    }
  ]
}