{
  "_id": "6acce57da14063b82c3aa58e",
  "Package": "dnn",
  "Type": "Package",
  "Title": "Deep Neural Network Tools for Probability and Statistic Models",
  "Version": "0.0.7",
  "Date": "2025-07-29",
  "Author": "Bingshu E. Chen [aut, cre], Patrick Norman [aut, ctb], Wenyu\nJiang [ctb], Wanlu Li [ctb]",
  "Maintainer": "Bingshu E. Chen <bingshu.chen@queensu.ca>",
  "Authors@R": "c(person(c(\"Bingshu\", \"E.\"), \"Chen\", role = c(\"aut\", \"cre\"), email = \"bingshu.chen@queensu.ca\"), person(\"Patrick\", \"Norman\", role = c(\"aut\", \"ctb\")), person(\"Wenyu\", \"Jiang\", role = \"ctb\"), person(\"Wanlu\", \"Li\", role = \"ctb\"))",
  "Description": "Contains a robust set of tools designed for constructing\ndeep neural networks, which are highly adaptable with\nuser-defined loss function and probability models. It includes\nseveral practical applications, such as the (deepAFT) model,\nwhich utilizes a deep neural network approach to enhance the\naccelerated failure time (AFT) model for survival data. Another\nexample is the (deepGLM) model that applies deep neural network\nto the generalized linear model (glm), accommodating data types\nwith continuous, categorical and Poisson distributions.",
  "License": "GPL (>= 2)",
  "LazyLoad": "yes",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-12 13:39:54 UTC",
    "User": "root"
  },
  "Repository": "https://statapps.r-universe.dev",
  "Date/Publication": "2025-08-21 18:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/dnn",
  "RemoteRef": "HEAD",
  "RemoteSha": "733b53ddd9974aa36236a5e7e3764876546f68fe",
  "_user": "statapps",
  "_type": "src",
  "_file": "dnn_0.0.7.tar.gz",
  "_fileid": "https://r2.ropensci.org/a9b32a04f199dc801d6f9a11f14adf08092d670dab0c9757e6e33270f8f64ce8",
  "_filesize": 212457,
  "_sha256": "a9b32a04f199dc801d6f9a11f14adf08092d670dab0c9757e6e33270f8f64ce8",
  "_expires": "2027-01-20T13:49:47.000Z",
  "_created": "2026-10-12T13:39:54.000Z",
  "_published": "2026-10-12T13:49:49.589Z",
  "_buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114838738396,
      "time": 106,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11750738621"
    },
    {
      "job": 114838738570,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11750843483"
    },
    {
      "job": 114838738432,
      "time": 126,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11751295206"
    },
    {
      "job": 114838738606,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11750558895"
    },
    {
      "job": 114838738830,
      "time": 278,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11751345511"
    },
    {
      "job": 114838738505,
      "time": 534,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11751600805"
    },
    {
      "job": 114838738560,
      "time": 249,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11751240522"
    },
    {
      "job": 114838738390,
      "time": 259,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11750674048"
    },
    {
      "job": 114837322061,
      "time": 207,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11750029458"
    },
    {
      "job": 114838738290,
      "time": 87,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11750334282"
    },
    {
      "job": 114838738640,
      "time": 409,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11751296028"
    },
    {
      "job": 114838738613,
      "time": 175,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11750409639"
    },
    {
      "job": 114838738648,
      "time": 133,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11751310149"
    },
    {
      "job": 114838738634,
      "time": 350,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11750774023"
    },
    {
      "job": 114838738761,
      "time": 130,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11751360040"
    }
  ],
  "_upstream": "https://github.com/cran/dnn",
  "_commit": {
    "id": "733b53ddd9974aa36236a5e7e3764876546f68fe",
    "author": "Bingshu E. Chen <bingshu.chen@queensu.ca>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.0.7\n",
    "time": 1755801002
  },
  "_maintainer": {
    "name": "Bingshu E. Chen",
    "email": "bingshu.chen@queensu.ca",
    "login": "statapps",
    "description": "",
    "uuid": 19355054
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "lpl",
      "version": ">= 0.12",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "statapps",
      "count": 2,
      "uuid": 19355054
    }
  ],
  "_userbio": {
    "uuid": 19355054,
    "type": "user",
    "name": "statapps",
    "followers": 2
  },
  "_downloads": {
    "count": 421,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dnn"
  },
  "_searchresults": 13,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dnn.html",
    "extra/manual.pdf"
  ],
  "_realowner": "statapps",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.6",
      "date": "2024-03-14"
    },
    {
      "version": "0.0.7",
      "date": "2025-08-21"
    }
  ],
  "_exports": [
    "bwdCheck",
    "bwdNN",
    "bwdNN2",
    "CVpredErr",
    "deepAFT",
    "deepAFT.default",
    "deepAFT.formula",
    "deepAFT.ipcw",
    "deepAFT.trans",
    "deepGlm",
    "deepSurv",
    "deepSurv.default",
    "delu",
    "didu",
    "dlrelu",
    "dnnControl",
    "dnnFit",
    "dnnFit2",
    "dNNmodel",
    "drelu",
    "dsigmoid",
    "dtanh",
    "elu",
    "fwdNN",
    "fwdNN2",
    "hyperTuning",
    "ibs.deepAFT",
    "idu",
    "lrelu",
    "mseIPCW",
    "optimizerAdamG",
    "optimizerMomentum",
    "optimizerNAG",
    "plot.deepAFT",
    "plot.dNNmodel",
    "predict.dNNmodel",
    "predict.dSurv",
    "print.deepAFT",
    "print.deepGlm",
    "print.deepSurv",
    "print.dNNmodel",
    "print.summary.deepAFT",
    "print.summary.deepGlm",
    "print.summary.deepSurv",
    "relu",
    "residuals.deepGlm",
    "residuals.dSurv",
    "rmst.deepSurv",
    "sigmoid",
    "summary.deepAFT",
    "summary.deepGlm",
    "summary.deepSurv",
    "summary.dNNmodel",
    "survfit.deepAFT",
    "survfit.deepSurv"
  ],
  "_help": [
    {
      "page": "dnn-package",
      "title": "An R package for the deep neural networks probability and statistics models",
      "topics": [
        "dnn-package",
        "dnn",
        "dnn-doc"
      ]
    },
    {
      "page": "activation",
      "title": "Activation function",
      "topics": [
        "activation",
        "delu",
        "didu",
        "dlrelu",
        "drelu",
        "dsigmoid",
        "dtanh",
        "elu",
        "idu",
        "lrelu",
        "relu",
        "sigmoid"
      ]
    },
    {
      "page": "bwdNN",
      "title": "Back propagation for dnn Models",
      "topics": [
        "bwdCheck",
        "bwdNN",
        "bwdNN2"
      ]
    },
    {
      "page": "deepAFT",
      "title": "Deep learning for the accelerated failure time (AFT) model",
      "topics": [
        "deepAFT",
        "deepAFT.default",
        "deepAFT.formula",
        "deepAFT.ipcw",
        "deepAFT.trans"
      ]
    },
    {
      "page": "deepGLM",
      "title": "Deep learning for the generalized linear models",
      "topics": [
        "deepGLM",
        "deepGlm",
        "predict.deepGlm",
        "residuals.deepGlm",
        "summary.deepGlm"
      ]
    },
    {
      "page": "deepSurv",
      "title": "Deep learning for the Cox proportional hazards model",
      "topics": [
        "deepSurv",
        "deepSurv.default",
        "summary.deepSurv"
      ]
    },
    {
      "page": "dnnControl",
      "title": "Auxiliary function for 'dnnFit' dnnFit",
      "topics": [
        "dnnControl"
      ]
    },
    {
      "page": "dnnFit",
      "title": "Fitting a Deep Learning model with a given loss function",
      "topics": [
        "dnnFit",
        "dnnFit2"
      ]
    },
    {
      "page": "dNNmodel",
      "title": "Specify a deep neural network model",
      "topics": [
        "dNNmodel"
      ]
    },
    {
      "page": "fwdNN",
      "title": "Feed forward and back propagation for dnn Models",
      "topics": [
        "fwdNN",
        "fwdNN2",
        "predict.dNNmodel"
      ]
    },
    {
      "page": "hyperTuning",
      "title": "A function for tuning of the hyper parameters",
      "topics": [
        "CVpredErr",
        "hyperTuning"
      ]
    },
    {
      "page": "ibs.deepAFT",
      "title": "Calculate integrated Brier Score for deepAFT",
      "topics": [
        "ibs.deepAFT"
      ]
    },
    {
      "page": "mseIPCW",
      "title": "Mean Square Error (mse) for a fitted survival Object",
      "topics": [
        "mseIPCW"
      ]
    },
    {
      "page": "optimizerSGD",
      "title": "Functions to optimize the gradient descent of a cost function",
      "topics": [
        "optimizerAdamG",
        "optimizerMomentum",
        "optimizerNAG",
        "optimizerSGD"
      ]
    },
    {
      "page": "plot",
      "title": "Plot methods in dnn package",
      "topics": [
        "plot.deepAFT",
        "plot.dNNmodel"
      ]
    },
    {
      "page": "predict.dSurv",
      "title": "Predicted Values for a deepAFT or a deepSurv Object",
      "topics": [
        "predict.deepAFT",
        "predict.deepSurv",
        "predict.dSurv"
      ]
    },
    {
      "page": "print",
      "title": "print a summary of fitted deep learning model object",
      "topics": [
        "print.deepAFT",
        "print.deepGlm",
        "print.deepSurv",
        "print.dNNmodel",
        "print.summary.deepAFT",
        "print.summary.deepGlm",
        "print.summary.deepSurv",
        "print.summary.dNNmodel",
        "summary.deepAFT",
        "summary.dNNmodel"
      ]
    },
    {
      "page": "residuals.deepAFT",
      "title": "Calculate Residuals for a deepAFT Fit.",
      "topics": [
        "residuals.deepAFT",
        "residuals.dSurv"
      ]
    },
    {
      "page": "rmst.deepSurv",
      "title": "The restricted mean survival time (RMST)",
      "topics": [
        "rmst.deepSurv"
      ]
    },
    {
      "page": "survfit.dSurv",
      "title": "Compute a Survival Curve from a deepAFT or a deepSurv Model",
      "topics": [
        "survfit.deepAFT",
        "survfit.deepSurv"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lpl",
    "MASS",
    "Matrix",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "survival",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 1.1139433523068367,
  "_indexed": true,
  "_nocasepkg": "dnn",
  "_universes": [
    "statapps"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.7",
      "date": "2026-10-12T13:41:41.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/9ec7dc62d51fae525136ded02566bfc794483cd8b2e90894af11d9d6effa3e41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.7",
      "date": "2026-10-12T13:42:02.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/f208bc707ce4b5efbd81f42f02001b4348a7ed3b4f546ae6612ebd09f099b9e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.7",
      "date": "2026-10-12T13:42:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/329755e91d5247d00953ffb58a5d49483b45f84cc58d824d71b0b4f6f341b1de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.7",
      "date": "2026-10-12T13:42:26.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/82366ac80060009e37f074486c5b82ef61431f99a57833bb920309f2f6f9b83a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.7",
      "date": "2026-10-12T13:43:24.000Z",
      "arch": "aarch64",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/3925f3b224c2e00d22321e58521a2ef3f3410c4e39f20a8c29e840b91b629171",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.7",
      "date": "2026-10-12T13:45:40.000Z",
      "arch": "x86_64",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/7e44428484be776cbdabd265558839218dc9710b6f4b170b551b983432ac6b65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.7",
      "date": "2026-10-12T13:43:04.000Z",
      "arch": "aarch64",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/881e20e71069409edb86186303f7e861c25e289e1d6d5ea92eff006966b3ccc9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.7",
      "date": "2026-10-12T13:43:04.000Z",
      "arch": "x86_64",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/66fb0145efd27def0d27e3076880c95cf6f2ff339ee3ded3c1e4fa6d520949a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.7",
      "date": "2026-10-12T13:41:50.000Z",
      "arch": "emscripten",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/dfe3a02ca3fed62af3b35d29de5fe1cfb35eba3ff92413b4558e8e91a90739aa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.7",
      "date": "2026-10-12T13:45:54.000Z",
      "arch": "aarch64",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/924d57aa2d5c5383efa05639af7cd21a9d92f2c7493b0301497124891a277e2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.7",
      "date": "2026-10-12T13:41:29.000Z",
      "arch": "x86_64",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/2bb7d5a5db59340322ae7a6c72dffe5a62cfe3f16a48ee593647c93e7c710702",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.7",
      "date": "2026-10-12T13:41:26.000Z",
      "arch": "x86_64",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/df4853b37617269c5db61192d05286dd1da0e8c3da0919603eeb93553ff0b3ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.7",
      "date": "2026-10-12T13:44:49.000Z",
      "arch": "aarch64",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/f67ab4b6c395575508885e1fc0679352023f29c2024d662a99894bdcfc02deee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.7",
      "date": "2026-10-12T13:41:22.000Z",
      "arch": "x86_64",
      "commit": "733b53ddd9974aa36236a5e7e3764876546f68fe",
      "fileid": "https://r2.ropensci.org/75587568004c32d840fce6fc64c49afa92a1131812b26efe37b1832abd2d5579",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/statapps/actions/runs/38256894226"
    }
  ]
}