{
  "_id": "6a103b28acfb0bcc41c9b67f",
  "Package": "kerasnip",
  "Type": "Package",
  "Title": "A Bridge Between 'keras' and 'tidymodels'",
  "Version": "0.1.2.900",
  "Authors@R": "person(\n\"David\",\n\"Díaz\",\nrole = c(\"aut\", \"cph\", \"cre\"),\nemail = \"daviddrsch@gmail.com\",\ncomment = c(ORCID = \"0000-0002-0927-9795\")\n)",
  "Description": "Provides a seamless bridge between 'keras' and the\n'tidymodels' frameworks. It allows for the dynamic creation of\n'parsnip' model specifications for 'keras' models.",
  "Encoding": "UTF-8",
  "License": "MIT + file LICENSE",
  "URL": "https://davidrsch.github.io/kerasnip/,\nhttps://github.com/davidrsch/kerasnip",
  "BugReports": "https://github.com/davidrsch/kerasnip/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev libpng-dev python3",
  "Repository": "https://davidrsch.r-universe.dev",
  "Date/Publication": "2026-05-11 16:22:40 UTC",
  "RemoteUrl": "https://github.com/davidrsch/kerasnip",
  "RemoteRef": "HEAD",
  "RemoteSha": "4c4ca83c5167e73d10e04f970f365e9de1cce5b8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 16:45:29 UTC",
    "User": "root"
  },
  "Author": "David Díaz [aut, cph, cre] (ORCID:\n<https://orcid.org/0000-0002-0927-9795>)",
  "Maintainer": "David Díaz <daviddrsch@gmail.com>",
  "MD5sum": "45b93fdc795bcca8d3b01ec4566a6230",
  "_user": "davidrsch",
  "_type": "src",
  "_file": "kerasnip_0.1.2.900.tar.gz",
  "_fileid": "205fd267cf39d5ccf7c2e216c389da421afd35108b5df7a1bae8435b86bcc605",
  "_filesize": 413791,
  "_sha256": "205fd267cf39d5ccf7c2e216c389da421afd35108b5df7a1bae8435b86bcc605",
  "_created": "2026-05-11T16:45:29.000Z",
  "_published": "2026-05-22T11:16:56.641Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77368731960,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6924494304"
    },
    {
      "job": 77368732046,
      "time": 192,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6924504230"
    },
    {
      "job": 77368731829,
      "time": 137,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6924486611"
    },
    {
      "job": 77368732216,
      "time": 139,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6924488309"
    },
    {
      "job": 77368731693,
      "time": 235,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6924428792"
    },
    {
      "job": 77368731425,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159192059"
    },
    {
      "job": 77368732007,
      "time": 141,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6924483322"
    },
    {
      "job": 77368732077,
      "time": 134,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6924481424"
    },
    {
      "job": 77368731871,
      "time": 150,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6924486071"
    }
  ],
  "_buildurl": "https://github.com/r-universe/davidrsch/actions/runs/25683749172",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/davidrsch/kerasnip",
  "_commit": {
    "id": "4c4ca83c5167e73d10e04f970f365e9de1cce5b8",
    "author": "David <daviddrsch@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #55 from davidrsch/davidrsch-patch-1\n\nUpdate LICENSE.md",
    "time": 1778516560
  },
  "_maintainer": {
    "name": "David Díaz",
    "email": "daviddrsch@gmail.com",
    "login": "davidrsch",
    "linkedin": "in/david-drsch",
    "orcid": "0000-0002-0927-9795",
    "uuid": 72680874
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "abind",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "parsnip",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "keras3",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "recipes",
      "role": "Imports"
    },
    {
      "package": "reticulate",
      "role": "Imports"
    },
    {
      "package": "lobstr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "bundle",
      "role": "Suggests"
    },
    {
      "package": "butcher",
      "role": "Suggests"
    },
    {
      "package": "modeldata",
      "role": "Suggests"
    },
    {
      "package": "tidymodels",
      "role": "Suggests"
    },
    {
      "package": "finetune",
      "role": "Suggests"
    },
    {
      "package": "tune",
      "role": "Suggests"
    },
    {
      "package": "dials",
      "role": "Suggests"
    },
    {
      "package": "workflows",
      "role": "Suggests"
    },
    {
      "package": "rsample",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "mgcv",
      "role": "Suggests"
    },
    {
      "package": "probably",
      "role": "Suggests"
    }
  ],
  "_owner": "davidrsch",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 19
    },
    {
      "week": "2025-31",
      "n": 8
    },
    {
      "week": "2025-32",
      "n": 4
    },
    {
      "week": "2025-33",
      "n": 20
    },
    {
      "week": "2025-34",
      "n": 24
    },
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 8
    },
    {
      "week": "2025-37",
      "n": 5
    },
    {
      "week": "2025-38",
      "n": 2
    },
    {
      "week": "2025-49",
      "n": 3
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 15
    },
    {
      "week": "2026-18",
      "n": 31
    },
    {
      "week": "2026-19",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.0.1",
      "date": "2025-08-28"
    },
    {
      "name": "v0.0.2",
      "date": "2025-09-06"
    },
    {
      "name": "v0.0.3",
      "date": "2025-09-18"
    },
    {
      "name": "v0.1.0",
      "date": "2025-12-06"
    },
    {
      "name": "v0.1.1",
      "date": "2026-04-14"
    },
    {
      "name": "v0.1.2",
      "date": "2026-05-02"
    }
  ],
  "_topics": [
    "deep-learning",
    "deep-learning-workflow",
    "keras",
    "parsnip",
    "tidymodels"
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "davidrsch",
      "count": 319,
      "uuid": 72680874
    }
  ],
  "_userbio": {
    "uuid": 72680874,
    "type": "user",
    "name": "David",
    "description": "Always trying to outdo myself.\r\n"
  },
  "_downloads": {
    "count": 339,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/kerasnip"
  },
  "_devurl": "https://github.com/davidrsch/kerasnip",
  "_pkgdown": "https://davidrsch.github.io/kerasnip/",
  "_searchresults": 19,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/kerasnip.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/davidrsch/kerasnip",
  "_realowner": "davidrsch",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2025-09-03"
    },
    {
      "version": "0.0.3",
      "date": "2025-09-18"
    },
    {
      "version": "0.1.0",
      "date": "2025-12-11"
    },
    {
      "version": "0.1.2",
      "date": "2026-05-03"
    }
  ],
  "_exports": [
    "compile_keras_grid",
    "create_keras_functional_spec",
    "create_keras_sequential_spec",
    "extract_keras_history",
    "extract_keras_model",
    "extract_valid_grid",
    "generic_functional_fit",
    "generic_sequential_fit",
    "get_model_env",
    "inform_errors",
    "inp_spec",
    "keras_evaluate",
    "keras_losses",
    "keras_metrics",
    "keras_optimizers",
    "loss_function_keras",
    "model_exists",
    "optimizer_function",
    "process_x_functional",
    "process_x_sequential",
    "process_y_functional",
    "process_y_sequential",
    "register_keras_loss",
    "register_keras_metric",
    "register_keras_optimizer",
    "remove_keras_spec",
    "step_collapse"
  ],
  "_help": [
    {
      "page": "axe-kerasnip_model_fit",
      "title": "Butcher axe methods for kerasnip_model_fit",
      "topics": [
        "axe-kerasnip_model_fit",
        "axe_call.kerasnip_model_fit",
        "axe_ctrl.kerasnip_model_fit",
        "axe_data.kerasnip_model_fit",
        "axe_env.kerasnip_model_fit",
        "axe_fitted.kerasnip_model_fit"
      ]
    },
    {
      "page": "compile_keras_grid",
      "title": "Compile Keras Models Over a Grid of Hyperparameters",
      "topics": [
        "compile_keras_grid"
      ]
    },
    {
      "page": "create_keras_functional_spec",
      "title": "Create a Custom Keras Functional API Model Specification for Tidymodels",
      "topics": [
        "create_keras_functional_spec"
      ]
    },
    {
      "page": "create_keras_sequential_spec",
      "title": "Create a Custom Keras Sequential Model Specification for Tidymodels",
      "topics": [
        "create_keras_sequential_spec"
      ]
    },
    {
      "page": "extract_keras_history",
      "title": "Extract Keras Training History",
      "topics": [
        "extract_keras_history"
      ]
    },
    {
      "page": "extract_keras_model",
      "title": "Extract Keras Model from a Fitted Kerasnip Object",
      "topics": [
        "extract_keras_model"
      ]
    },
    {
      "page": "extract_valid_grid",
      "title": "Extract Valid Grid from Compilation Results",
      "topics": [
        "extract_valid_grid"
      ]
    },
    {
      "page": "inform_errors",
      "title": "Inform About Compilation Errors",
      "topics": [
        "inform_errors"
      ]
    },
    {
      "page": "inp_spec",
      "title": "Remap Layer Block Arguments for Model Specification",
      "topics": [
        "inp_spec"
      ]
    },
    {
      "page": "keras_evaluate",
      "title": "Evaluate a Kerasnip Model",
      "topics": [
        "keras_evaluate"
      ]
    },
    {
      "page": "register_keras_loss",
      "title": "Register a Custom Keras Loss",
      "topics": [
        "register_keras_loss"
      ]
    },
    {
      "page": "register_keras_metric",
      "title": "Register a Custom Keras Metric",
      "topics": [
        "register_keras_metric"
      ]
    },
    {
      "page": "register_keras_optimizer",
      "title": "Register a Custom Keras Optimizer",
      "topics": [
        "register_keras_optimizer"
      ]
    },
    {
      "page": "remove_keras_spec",
      "title": "Remove a Keras Model Specification and its Registrations",
      "topics": [
        "remove_keras_spec"
      ]
    },
    {
      "page": "step_collapse",
      "title": "Collapse Predictors into a single list-column",
      "topics": [
        "step_collapse"
      ]
    }
  ],
  "_pkglogo": "https://github.com/davidrsch/kerasnip/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/davidrsch/kerasnip/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "base64enc",
    "class",
    "cli",
    "clock",
    "codetools",
    "config",
    "cpp11",
    "crayon",
    "data.table",
    "diagram",
    "digest",
    "dotty",
    "dplyr",
    "farver",
    "fastmap",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "here",
    "ipred",
    "isoband",
    "jsonlite",
    "keras3",
    "KernSmooth",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lobstr",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "nnet",
    "numDeriv",
    "parallelly",
    "parsnip",
    "pillar",
    "pkgconfig",
    "png",
    "prettyunits",
    "processx",
    "prodlim",
    "progressr",
    "ps",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppTOML",
    "recipes",
    "reticulate",
    "rlang",
    "rpart",
    "rprojroot",
    "rstudioapi",
    "S7",
    "scales",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tensorflow",
    "tfautograph",
    "tfruns",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "whisker",
    "withr",
    "yaml",
    "zeallot"
  ],
  "_score": 5.153814864344529,
  "_indexed": true,
  "_nocasepkg": "kerasnip",
  "_universes": [
    "davidrsch"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2.900",
      "date": "2026-05-11T16:47:55.000Z",
      "distro": "noble",
      "commit": "4c4ca83c5167e73d10e04f970f365e9de1cce5b8",
      "fileid": "0824de261ba89ef4ff6b617663798ffe632dd4c88229478e7417b954cb91d94e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/davidrsch/actions/runs/25683749172"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2.900",
      "date": "2026-05-11T16:48:18.000Z",
      "distro": "noble",
      "commit": "4c4ca83c5167e73d10e04f970f365e9de1cce5b8",
      "fileid": "d1e6f3fe4b96fd7ed80d53b42dece2360b0c3868b35dbf7ca5983a248c202567",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/davidrsch/actions/runs/25683749172"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2.900",
      "date": "2026-05-11T16:47:45.000Z",
      "commit": "4c4ca83c5167e73d10e04f970f365e9de1cce5b8",
      "fileid": "bf7f3cb0633479f84dec3c31c78d00147b55dd16dbe16a7bf950c37ccc888d79",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/davidrsch/actions/runs/25683749172"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2.900",
      "date": "2026-05-11T16:47:42.000Z",
      "commit": "4c4ca83c5167e73d10e04f970f365e9de1cce5b8",
      "fileid": "0f79434dfb26ad850112b5a710040c6cc3f325eb15cc389e4078350aaf1753c6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/davidrsch/actions/runs/25683749172"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2.900",
      "date": "2026-05-11T16:47:10.000Z",
      "commit": "4c4ca83c5167e73d10e04f970f365e9de1cce5b8",
      "fileid": "5a7273614870463229d8f3471bc277af627cd3194c1fdf43a73959aec97ccdfc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/davidrsch/actions/runs/25683749172"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2.900",
      "date": "2026-05-11T16:47:09.000Z",
      "commit": "4c4ca83c5167e73d10e04f970f365e9de1cce5b8",
      "fileid": "4684d216115f1cc5f50dfcd5c2da3abc1ac55ea625b22ec508d3e2e4b6db76d0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/davidrsch/actions/runs/25683749172"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2.900",
      "date": "2026-05-11T16:47:18.000Z",
      "commit": "4c4ca83c5167e73d10e04f970f365e9de1cce5b8",
      "fileid": "c6411f077e09924df2a57797dc12f6a105a7904f780820ca8af41380dbc27975",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/davidrsch/actions/runs/25683749172"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2.900",
      "date": "2026-05-22T11:16:31.000Z",
      "commit": "4c4ca83c5167e73d10e04f970f365e9de1cce5b8",
      "fileid": "7a86b54bbd926e530ba695ec45aff876e42a36bafe2ff54bc3dc03d13a580aa2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/davidrsch/actions/runs/25683749172"
    }
  ]
}