{
  "_id": "6a1f2b1cb401979e73425050",
  "Package": "bnclassify",
  "Title": "Learning Discrete Bayesian Network Classifiers from Data",
  "Description": "State-of-the art algorithms for learning discrete Bayesian\nnetwork classifiers from data, including a number of those\ndescribed in Bielza & Larranaga (2014) <doi:10.1145/2576868>,\nwith functions for prediction, model evaluation and inspection.",
  "Version": "0.4.8",
  "Authors@R": "c(person(\"Mihaljevic\",\"Bojan\",email=\"boki.mihaljevic@gmail.com\",role=c(\"aut\",\"cre\", \"cph\")),\nperson(\"Bielza\",\"Concha\",email=\"mcbielza@fi.upm.es\",role=\"aut\"),\nperson(\"Larranaga\",\"Pedro\",email=\"pedro.larranaga@fi.upm.es\",role=\"aut\"),\nperson(\"Wickham\", \"Hadley\", role=\"ctb\", comment=\"some code extracted from memoise package\"))",
  "URL": "https://github.com/bmihaljevic/bnclassify",
  "BugReports": "https://github.com/bmihaljevic/bnclassify/issues",
  "Encoding": "UTF-8",
  "License": "GPL (>= 2)",
  "Maintainer": "Mihaljevic Bojan <boki.mihaljevic@gmail.com>",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.1",
  "Repository": "https://bmihaljevic.r-universe.dev",
  "Date/Publication": "2024-03-15 10:22:30 UTC",
  "RemoteUrl": "https://github.com/bmihaljevic/bnclassify",
  "RemoteRef": "HEAD",
  "RemoteSha": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-15 10:09:10 UTC",
    "User": "root"
  },
  "Author": "Mihaljevic Bojan [aut, cre, cph],\nBielza Concha [aut],\nLarranaga Pedro [aut],\nWickham Hadley [ctb] (some code extracted from memoise package)",
  "MD5sum": "de1573045f96a73af2ad03eea97dac3b",
  "_user": "bmihaljevic",
  "_type": "src",
  "_file": "bnclassify_0.4.8.tar.gz",
  "_fileid": "77c1c749daf35d8638567de862699a549343ae43abe824a65849c0a78acf78d0",
  "_filesize": 574131,
  "_sha256": "77c1c749daf35d8638567de862699a549343ae43abe824a65849c0a78acf78d0",
  "_created": "2026-05-15T10:09:10.000Z",
  "_published": "2026-06-02T19:12:28.349Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79151497426,
      "time": 188,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014819055"
    },
    {
      "job": 79151496843,
      "time": 201,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014822798"
    },
    {
      "job": 79151498937,
      "time": 214,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014826070"
    },
    {
      "job": 79151498144,
      "time": 195,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014821287"
    },
    {
      "job": 79151497438,
      "time": 190,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014845384"
    },
    {
      "job": 79151497642,
      "time": 439,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014884361"
    },
    {
      "job": 79151497805,
      "time": 216,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014849763"
    },
    {
      "job": 79151497596,
      "time": 304,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014850550"
    },
    {
      "job": 79151496557,
      "time": 247,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014767228"
    },
    {
      "job": 79151496462,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367412448"
    },
    {
      "job": 79151496967,
      "time": 197,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014822412"
    },
    {
      "job": 79151497183,
      "time": 183,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014817345"
    },
    {
      "job": 79151496780,
      "time": 179,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014816477"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bmihaljevic/actions/runs/25912143309",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bmihaljevic/bnclassify",
  "_commit": {
    "id": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
    "author": "Bojan Mihaljevic <boki.mihaljevic@gmail.com>",
    "committer": "Bojan Mihaljevic <boki.mihaljevic@gmail.com>",
    "message": "fix codecov\n",
    "time": 1710498150
  },
  "_maintainer": {
    "name": "Mihaljevic Bojan",
    "email": "boki.mihaljevic@gmail.com",
    "login": "bmihaljevic",
    "linkedin": "in/bojan-mihaljevic-0b1a894",
    "uuid": 12963756
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "assertthat",
      "version": ">= 0.1",
      "role": "Imports"
    },
    {
      "package": "entropy",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "version": ">= 0.14.0",
      "role": "Imports"
    },
    {
      "package": "rpart",
      "version": ">= 4.1-8",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "gRain",
      "version": ">= 1.2-3",
      "role": "Suggests"
    },
    {
      "package": "gRbase",
      "version": ">= 1.7-0.1",
      "role": "Suggests"
    },
    {
      "package": "mlr",
      "version": ">= 2.2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 0.8.1",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.10.5",
      "role": "Suggests"
    },
    {
      "package": "ParamHelpers",
      "version": ">= 1.5",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 0.7",
      "role": "Suggests"
    },
    {
      "package": "mlbench",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "bmihaljevic",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "bayesian-network",
    "bayesian-networks",
    "cpp"
  ],
  "_stars": 20,
  "_contributors": [
    {
      "user": "bmihaljevic",
      "count": 886,
      "uuid": 12963756
    },
    {
      "user": "talgalili",
      "count": 1,
      "uuid": 976006
    },
    {
      "user": "cheng270",
      "count": 1,
      "uuid": 55990931
    }
  ],
  "_userbio": {
    "uuid": 12963756,
    "type": "user",
    "name": "Bojan Mihaljević"
  },
  "_downloads": {
    "count": 310,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bnclassify"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/bmihaljevic/bnclassify",
  "_searchresults": 70,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bnclassify.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/bmihaljevic/bnclassify",
  "_realowner": "bmihaljevic",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2015-07-30"
    },
    {
      "version": "0.3.1",
      "date": "2015-10-29"
    },
    {
      "version": "0.3.2",
      "date": "2015-11-19"
    },
    {
      "version": "0.3.3",
      "date": "2017-09-06"
    },
    {
      "version": "0.3.4",
      "date": "2018-01-13"
    },
    {
      "version": "0.4.0",
      "date": "2018-05-08"
    },
    {
      "version": "0.4.1",
      "date": "2018-07-25"
    },
    {
      "version": "0.4.2",
      "date": "2019-03-14"
    },
    {
      "version": "0.4.3",
      "date": "2019-11-30"
    },
    {
      "version": "0.4.4",
      "date": "2020-01-20"
    },
    {
      "version": "0.4.5",
      "date": "2020-03-12"
    },
    {
      "version": "0.4.6",
      "date": "2021-10-30"
    },
    {
      "version": "0.4.7",
      "date": "2022-11-16"
    },
    {
      "version": "0.4.8",
      "date": "2024-03-13"
    }
  ],
  "_exports": [
    "accuracy",
    "aode",
    "as_grain",
    "as_igraph",
    "as_mlr",
    "awnb_weights",
    "bnc",
    "bsej",
    "class_var",
    "classes",
    "cLogLik",
    "cmi",
    "cv",
    "families",
    "feature_families",
    "features",
    "fssj",
    "is_anb",
    "is_nb",
    "is_ode",
    "is_semi_naive",
    "kdb",
    "lp",
    "makeRLearner.bnc",
    "manb_arc_posterior",
    "modelstring",
    "narcs",
    "nb",
    "nparams",
    "params",
    "predictLearner.bnc",
    "tan_cl",
    "tan_hc",
    "tan_hcsp",
    "trainLearner.bnc",
    "values",
    "vars"
  ],
  "_datasets": [
    {
      "name": "car",
      "title": "Car Evaluation Data Set.",
      "object": "car",
      "file": "car.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "buying",
        "maint",
        "doors",
        "persons",
        "lug_boot",
        "safety",
        "class"
      ],
      "rows": 1728,
      "table": true,
      "tojson": true
    },
    {
      "name": "voting",
      "title": "Congress Voting Data Set.",
      "object": "voting",
      "file": "voting.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "handicapped_infants",
        "water_project_cost_sharing",
        "adoption_of_the_budget_resolution",
        "physician_fee_freeze",
        "el_salvador_aid",
        "religious_groups_in_schools",
        "anti_satellite_test_ban",
        "aid_to_nicaraguan_contras",
        "mx_missile",
        "immigration",
        "synfuels_corporation_cutback",
        "education_spending",
        "superfund_right_to_sue",
        "crime",
        "duty_free_exports",
        "export_administration_act_south_africa",
        "Class"
      ],
      "rows": 435,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "accuracy",
      "title": "Compute predictive accuracy.",
      "topics": [
        "accuracy"
      ]
    },
    {
      "page": "aode",
      "title": "Learn an AODE ensemble.",
      "topics": [
        "aode"
      ]
    },
    {
      "page": "as_mlr",
      "title": "Convert to 'mlr'.",
      "topics": [
        "as_mlr"
      ]
    },
    {
      "page": "bnc",
      "title": "Learn network structure and parameters.",
      "topics": [
        "bnc"
      ]
    },
    {
      "page": "bnc_bn",
      "title": "Bayesian network classifier with structure and parameters.",
      "topics": [
        "bnc_bn"
      ]
    },
    {
      "page": "bnc_dag",
      "title": "Bayesian network classifier structure.",
      "topics": [
        "bnc_dag"
      ]
    },
    {
      "page": "bnclassify",
      "title": "Learn discrete Bayesian network classifiers from data.",
      "topics": [
        "bnclassify-package",
        "bnclassify"
      ]
    },
    {
      "page": "car",
      "title": "Car Evaluation Data Set.",
      "topics": [
        "car"
      ]
    },
    {
      "page": "cmi",
      "title": "Compute the (conditional) mutual information between two variables.",
      "topics": [
        "cmi"
      ]
    },
    {
      "page": "cv",
      "title": "Estimate predictive accuracy with stratified cross validation.",
      "topics": [
        "cv"
      ]
    },
    {
      "page": "grain_and_graph",
      "title": "Convert to igraph and gRain.",
      "topics": [
        "as_grain",
        "as_igraph",
        "grain_and_graph"
      ]
    },
    {
      "page": "greedy_wrapper",
      "title": "Learn Bayesian network classifiers in a a greedy wrapper fashion.",
      "topics": [
        "bsej",
        "fssj",
        "greedy_wrapper",
        "kdb",
        "tan_hc",
        "tan_hcsp"
      ]
    },
    {
      "page": "inspect_bnc_bn",
      "title": "Inspect a Bayesian network classifier (with structure and parameters).",
      "topics": [
        "awnb_weights",
        "classes",
        "inspect_bnc_bn",
        "manb_arc_posterior",
        "nparams",
        "params",
        "values"
      ]
    },
    {
      "page": "inspect_bnc_dag",
      "title": "Inspect a Bayesian network classifier structure.",
      "topics": [
        "class_var",
        "families",
        "features",
        "feature_families",
        "inspect_bnc_dag",
        "is_anb",
        "is_nb",
        "is_ode",
        "is_semi_naive",
        "modelstring",
        "narcs",
        "vars"
      ]
    },
    {
      "page": "learn_params",
      "title": "Learn the parameters of a Bayesian network structure.",
      "topics": [
        "learn_params",
        "lp"
      ]
    },
    {
      "page": "loglik",
      "title": "Compute (penalized) log-likelihood.",
      "topics": [
        "AIC.bnc_bn",
        "BIC.bnc_bn",
        "cLogLik",
        "loglik",
        "logLik.bnc_bn"
      ]
    },
    {
      "page": "nb",
      "title": "Learn a naive Bayes network structure.",
      "topics": [
        "nb"
      ]
    },
    {
      "page": "plot.bnc_dag",
      "title": "Plot the structure.",
      "topics": [
        "plot.bnc_dag"
      ]
    },
    {
      "page": "predict.bnc_fit",
      "title": "Predicts class labels or class posterior probability distributions.",
      "topics": [
        "predict.bnc_fit"
      ]
    },
    {
      "page": "tan_chowliu",
      "title": "Learns a one-dependence estimator using Chow-Liu's algorithm.",
      "topics": [
        "tan_chowliu",
        "tan_cl"
      ]
    },
    {
      "page": "voting",
      "title": "Congress Voting Data Set.",
      "topics": [
        "voting"
      ]
    }
  ],
  "_readme": "https://github.com/bmihaljevic/bnclassify/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "BH",
    "entropy",
    "matrixStats",
    "Rcpp",
    "rpart"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "methods.Rmd",
      "filename": "methods.html",
      "title": "Methods' details for the bnclassify package",
      "author": "Bojan Mihaljevic, Concha Bielza, Pedro Larranaga",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2018-05-07 11:38:32",
      "modified": "2018-05-07 11:38:32",
      "commits": 1
    },
    {
      "source": "overview.Rmd",
      "filename": "overview.html",
      "title": "bnclassify: Learning Bayesian Network Classifiers",
      "author": "Bojan Mihaljević, Concha Bielza and Pedro Larrañaga",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2018-05-07 11:38:32",
      "modified": "2018-05-07 11:38:32",
      "commits": 1
    },
    {
      "source": "usage.rmd",
      "filename": "usage.html",
      "title": "bnclassify usage",
      "author": "Bojan Mihaljević, Concha Bielza, Pedro Larrañaga",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Data",
        "Workflow",
        "Network structure",
        "Learning",
        "Analyzing",
        "Network parameters",
        "Interface to bnlearn, gRain, and graph",
        "Selecting features",
        "External feature selection",
        "Evaluating",
        "Network scores",
        "Predictive accuracy",
        "More",
        "Predicting",
        "Miscellaneous",
        "Complementing bnclassify with mlr",
        "Wrapper feature selection",
        "Comparing to random forest",
        "References"
      ],
      "created": "2018-05-07 11:38:32",
      "modified": "2024-03-11 13:43:27",
      "commits": 6
    }
  ],
  "_score": 7.100370545117563,
  "_indexed": true,
  "_nocasepkg": "bnclassify",
  "_universes": [
    "bmihaljevic"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-05-15T10:12:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
      "fileid": "28c1cae6f92492bb1452d0c58dc598e4ca94e42392ea7b0024d8af4fd049d85d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmihaljevic/actions/runs/25912143309"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-05-15T10:12:17.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
      "fileid": "0fe8f2b0d56d4cb1e0772051f5ffe9c2736aa4fd5657ddd933df9acc462ce71f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmihaljevic/actions/runs/25912143309"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-05-15T10:12:34.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
      "fileid": "85710302256ba2433513f9303372fce017ddc6c73785fd01d8d785caa30f899a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmihaljevic/actions/runs/25912143309"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.8",
      "date": "2026-05-15T10:12:12.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
      "fileid": "0fc77f81a6679794c9d4cab92ed0abf0fda17cce89701732065a78a06dbb49db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmihaljevic/actions/runs/25912143309"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-05-15T10:13:53.000Z",
      "arch": "aarch64",
      "commit": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
      "fileid": "7b2b60d14e5328fdf9b72ed2df473bc0fedc36b4ee97a9aef230772e18e2d5c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmihaljevic/actions/runs/25912143309"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-05-15T10:14:39.000Z",
      "arch": "x86_64",
      "commit": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
      "fileid": "e1e4912745b59515acfa64d8f954284472e04efb16053198bc45f1e00f42eca2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmihaljevic/actions/runs/25912143309"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-05-15T10:13:55.000Z",
      "arch": "aarch64",
      "commit": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
      "fileid": "f4fe4822b4a2e78d151f09c4d3c0df13bfc7e0c01b5261c5b41813e5416e8376",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmihaljevic/actions/runs/25912143309"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.8",
      "date": "2026-05-15T10:13:22.000Z",
      "arch": "x86_64",
      "commit": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
      "fileid": "78a90d71a6b67c70b5f0bb7d1d0d2c345f01a2f4fab459d8c95c9321f33ae85a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmihaljevic/actions/runs/25912143309"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-05-15T10:11:33.000Z",
      "arch": "x86_64",
      "commit": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
      "fileid": "e2a73555702db7e4a3173356620b839f1fced8ae49d1647d9abb88db61006002",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmihaljevic/actions/runs/25912143309"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-05-15T10:11:18.000Z",
      "arch": "x86_64",
      "commit": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
      "fileid": "5c19f924edd39d0d25dbd50e30f67aff4b5440854f3974654d8156a50cce197a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmihaljevic/actions/runs/25912143309"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.8",
      "date": "2026-05-15T10:11:08.000Z",
      "arch": "x86_64",
      "commit": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
      "fileid": "16369930bc2f42ac77bd7530990d43e0e6efc3b215de3f3cabf121b57ab29653",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmihaljevic/actions/runs/25912143309"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.8",
      "date": "2026-06-02T19:11:45.000Z",
      "arch": "emscripten",
      "commit": "d121dfa3353a41c532c8fd84380b5e1eaa5a61d5",
      "fileid": "acfc527540c665c644d69fa53a2565e1b8e6b7cd5ceb15af888288a85969f98f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bmihaljevic/actions/runs/25912143309"
    }
  ]
}