{
  "_id": "6af83a0af58eaab79920eefc",
  "Package": "glmdisc",
  "Type": "Package",
  "Title": "Discretization and Grouping for Logistic Regression",
  "Version": "0.6",
  "Date": "2020-09-30",
  "Authors@R": "c(person(\"Adrien\", \"Ehrhardt\", email = \"adrien.ehrhardt@centraliens-lille.org\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Vincent\", \"Vandewalle\", email = \"vincent.vandewalle@inria.fr\",\nrole = c(\"aut\")),\nperson(\"Christophe\", \"Biernacki\", email = \"christophe.biernacki@inria.fr\",\nrole = c(\"ctb\")),\nperson(\"Philippe\", \"Heinrich\", email = \"philippe.heinrich@univ-lille1.fr\",\nrole = c(\"ctb\")))",
  "Maintainer": "Adrien Ehrhardt <adrien.ehrhardt@centraliens-lille.org>",
  "Description": "A Stochastic-Expectation-Maximization (SEM) algorithm\n(Celeux et al. (1995) <https://hal.inria.fr/inria-00074164>)\nassociated with a Gibbs sampler which purpose is to learn a\nconstrained representation for logistic regression that is\ncalled quantization (Ehrhardt et al. (2019)\n<arXiv:1903.08920>). Continuous features are discretized and\ncategorical features' values are grouped to produce a better\nlogistic regression model. Pairwise interactions between\nquantized features are dynamically added to the model through a\nMetropolis-Hastings algorithm (Hastings, W. K. (1970)\n<doi:10.1093/biomet/57.1.97>).",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "URL": "https://adimajo.github.io",
  "BugReports": "https://github.com/adimajo/glmdisc/issues",
  "RoxygenNote": "7.1.1",
  "VignetteBuilder": "knitr",
  "Collate": "'RcppExports.R' 'allClasses.R' 'cut.dataset.R'\n'discretize.link.R' 'generic_cutpoints.R'\n'generic_discretize.R' 'glmdisc.R' 'initialization.R'\n'method_cutpoints.R' 'method_discretize.R' 'method_plot.R'\n'method_predict.R' 'methods_disc.R' 'normalizedGini.R'\n'semDiscretization.R'",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-14 10:31:28 UTC",
    "User": "root"
  },
  "Author": "Adrien Ehrhardt [aut, cre], Vincent Vandewalle [aut],\nChristophe Biernacki [ctb], Philippe Heinrich [ctb]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2020-09-30 20:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/glmdisc",
  "RemoteRef": "HEAD",
  "RemoteSha": "d9ac9e4bd0f57a4c7a9189fc716f23a80b635d5a",
  "_user": "cran",
  "_type": "src",
  "_file": "glmdisc_0.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/0ed0561f381f34aead9418d5cfedfeec74083e63143e5c7da4229e018275cc81",
  "_filesize": 402317,
  "_sha256": "0ed0561f381f34aead9418d5cfedfeec74083e63143e5c7da4229e018275cc81",
  "_expires": "2027-02-22T10:38:01.000Z",
  "_created": "2026-11-14T10:31:28.000Z",
  "_published": "2026-11-14T10:38:02.723Z",
  "_upstream": "https://github.com/cran/glmdisc",
  "_status": "success",
  "_maintainer": {
    "name": "Adrien Ehrhardt",
    "email": "adrien.ehrhardt@centraliens-lille.org"
  },
  "_jobs": [
    {
      "job": 132419686882,
      "time": 194,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "14110846140"
    },
    {
      "job": 132419686866,
      "time": 241,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "14109758226"
    },
    {
      "job": 132419686901,
      "time": 179,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "14109738180"
    },
    {
      "job": 132419686873,
      "time": 207,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "14110097162"
    },
    {
      "job": 132418475692,
      "time": 302,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14109962384"
    },
    {
      "job": 132419686835,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14110362306"
    },
    {
      "job": 132419686885,
      "time": 341,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "14110233391"
    },
    {
      "job": 132419686911,
      "time": 315,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "14109907875"
    },
    {
      "job": 132419686927,
      "time": 316,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "14109793319"
    },
    {
      "job": 132419686895,
      "time": 337,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "14110457294"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/43585303209",
  "_commit": {
    "id": "d9ac9e4bd0f57a4c7a9189fc716f23a80b635d5a",
    "author": "Adrien Ehrhardt <adrien.ehrhardt@centraliens-lille.org>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.6\n",
    "time": 1601496602
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "RcppNumerical",
      "role": "LinkingTo"
    },
    {
      "package": "caret",
      "version": ">= 6.0-82",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "gam",
      "role": "Imports"
    },
    {
      "package": "nnet",
      "role": "Imports"
    },
    {
      "package": "RcppNumerical",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.13",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 637,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 52,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/glmdisc"
  },
  "_devurl": "https://github.com/adimajo/glmdisc",
  "_searchresults": 29,
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [
      {
        "key": "glmdisc::generic:cutpoints",
        "hash": "5eb40cfd7ff86c3d"
      },
      {
        "key": "glmdisc::generic:discretize",
        "hash": "cbe504f5385185c7"
      },
      {
        "key": "glmdisc::glmdisc",
        "hash": "1a1f48094b43495d"
      }
    ],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/glmdisc.html",
    "extra/manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1",
      "date": "2019-04-04"
    },
    {
      "version": "0.2",
      "date": "2019-09-16"
    },
    {
      "version": "0.3",
      "date": "2019-12-16"
    },
    {
      "version": "0.4",
      "date": "2020-02-20"
    },
    {
      "version": "0.5",
      "date": "2020-03-22"
    },
    {
      "version": "0.6",
      "date": "2020-09-30"
    }
  ],
  "_exports": [
    "contr.ltfr",
    "cutpoints",
    "discretize",
    "glmdisc",
    "normalizedGini",
    "plot",
    "predict",
    "predictlogisticRegression"
  ],
  "_help": [
    {
      "page": "glmdisc-package",
      "title": "glmdisc: A package for discretizing continuous features, grouping categorical features' values and optimizing it for logistic regression.",
      "topics": [
        "glmdisc-package"
      ]
    },
    {
      "page": "cutpoints-method",
      "title": "Obtaining the cutpoints and / or regroupments of a discretization.",
      "topics": [
        "cutpoints",
        "cutpoints,glmdisc-method"
      ]
    },
    {
      "page": "discretize",
      "title": "Prediction on a raw test set of the best logistic regression model on discretized / grouped data.",
      "topics": [
        "discretize",
        "discretize,glmdisc-method"
      ]
    },
    {
      "page": "glmdisc",
      "title": "Model-based multivariate discretization for logistic regression.",
      "concept": [
        "SEM Gibbs discretization"
      ],
      "topics": [
        "glmdisc"
      ]
    },
    {
      "page": "glmdisc-class",
      "title": "Class glmdisc",
      "topics": [
        "glmdisc-class"
      ]
    },
    {
      "page": "normalizedGini",
      "title": "Calculating the normalized Gini index",
      "concept": [
        "gini index"
      ],
      "topics": [
        "normalizedGini"
      ]
    },
    {
      "page": "plot",
      "title": "Plots for the discretized / grouped data.",
      "concept": [
        "test discretization plot"
      ],
      "topics": [
        "plot",
        "plot,glmdisc,ANY-method",
        "plot,glmdisc,missing-method",
        "plot.glmdisc"
      ]
    },
    {
      "page": "predict",
      "title": "Prediction on a raw test set of the best logistic regression model on discretized data.",
      "concept": [
        "test discretization predict prediction"
      ],
      "topics": [
        "predict",
        "predict,glmdisc,ANY,ANY-method",
        "predict,glmdisc-method",
        "predict.glmdisc"
      ]
    },
    {
      "page": "predictlogisticRegression",
      "title": "Predicting using a logistic regression fitted with RCpp::fast_LR.",
      "topics": [
        "predictlogisticRegression"
      ]
    }
  ],
  "_rundeps": [
    "caret",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "data.table",
    "diagram",
    "dplyr",
    "e1071",
    "farver",
    "foreach",
    "future",
    "future.apply",
    "gam",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "ipred",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "ModelMetrics",
    "nlme",
    "nnet",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "pROC",
    "prodlim",
    "progressr",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppNumerical",
    "recipes",
    "reshape2",
    "rlang",
    "rpart",
    "S7",
    "scales",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "utf8",
    "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"
    }
  ],
  "_vignettes": [
    {
      "source": "glmdisc.Rmd",
      "filename": "glmdisc.html",
      "title": "The glmdisc package: discretization at its finest",
      "author": "Adrien Ehrhardt",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Context",
        "Example",
        "Notations",
        "Logistic regression",
        "Common problems with logistic regression on \"raw\" data",
        "Feature selection",
        "Linearity",
        "Too many values per categorical feature",
        "Discretization and grouping: theoretical background",
        "Best discretization?",
        "Combinatorics",
        "Discretization and grouping: estimation",
        "Likelihood estimation",
        "The SEM algorithm",
        "Gibbs sampling",
        "Interaction discovery",
        "What do \"interactions\" mean?",
        "Our proposal",
        "An MCMC estimation procedure",
        "The Metropolis-Hastings algorithm",
        "Proposal",
        "The glmdisc package",
        "The glmdisc function",
        "Parameters",
        "Internals",
        "Results",
        "The parameters slot",
        "The best.disc slot",
        "The performance slot",
        "The disc.data slot",
        "The cont.data slot",
        "How well did we do?",
        "\"Classical\" methods",
        "The discretize method",
        "The predict method",
        "Future developments",
        "Enhancing the discretization package",
        "Possibility of changing model assumptions",
        "References"
      ],
      "created": "2019-04-04 11:10:03",
      "modified": "2020-09-30 20:10:02",
      "commits": 5
    }
  ],
  "_score": 2.462397997898956,
  "_indexed": true,
  "_nocasepkg": "glmdisc",
  "_universes": [
    "cran",
    "adimajo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6",
      "date": "2026-11-14T10:33:39.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d9ac9e4bd0f57a4c7a9189fc716f23a80b635d5a",
      "fileid": "https://r2.ropensci.org/efa6bcbbac665bdde9c2668c1e023a0f03adc86fb3d1aa1940b5e3bb7041f8a9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43585303209"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6",
      "date": "2026-11-14T10:33:58.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d9ac9e4bd0f57a4c7a9189fc716f23a80b635d5a",
      "fileid": "https://r2.ropensci.org/c8817a42b4e2b45bf03b5c02de906983ceb16c167f4a0ee903b22d4ff40ee2d6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43585303209"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.6",
      "date": "2026-11-14T10:33:29.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d9ac9e4bd0f57a4c7a9189fc716f23a80b635d5a",
      "fileid": "https://r2.ropensci.org/abcaa119c87e13d33d246cd754a6b61498d71a7896ae9077b18a6f866c71830e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43585303209"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.6",
      "date": "2026-11-14T10:33:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d9ac9e4bd0f57a4c7a9189fc716f23a80b635d5a",
      "fileid": "https://r2.ropensci.org/3bbcd2503bce6e924dc89f3d127021677d24819d89a196016fd481ab7fff6ead",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43585303209"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6",
      "date": "2026-11-14T10:33:55.000Z",
      "arch": "emscripten",
      "commit": "d9ac9e4bd0f57a4c7a9189fc716f23a80b635d5a",
      "fileid": "https://r2.ropensci.org/8d79a633c94282db9a71c8330435af4b39fd2aeb9c02237ce17172324e724805",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43585303209"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6",
      "date": "2026-11-14T10:35:32.000Z",
      "arch": "aarch64",
      "commit": "d9ac9e4bd0f57a4c7a9189fc716f23a80b635d5a",
      "fileid": "https://r2.ropensci.org/23ef05a9672c36b89715ca3f099756ea33d384032bbc77b761bb995d396cb43b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43585303209"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6",
      "date": "2026-11-14T10:33:37.000Z",
      "arch": "x86_64",
      "commit": "d9ac9e4bd0f57a4c7a9189fc716f23a80b635d5a",
      "fileid": "https://r2.ropensci.org/44ad927f17b2e05f2f61c1ff965004ef13c3f0baffd073665e007b5a9993a62f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43585303209"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.6",
      "date": "2026-11-14T10:35:01.000Z",
      "arch": "aarch64",
      "commit": "d9ac9e4bd0f57a4c7a9189fc716f23a80b635d5a",
      "fileid": "https://r2.ropensci.org/8101073227e940be5d32a4b4b96c6cef023b87b7007d8a46f345446429260612",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43585303209"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.6",
      "date": "2026-11-14T10:34:09.000Z",
      "arch": "x86_64",
      "commit": "d9ac9e4bd0f57a4c7a9189fc716f23a80b635d5a",
      "fileid": "https://r2.ropensci.org/cab96b7c81186bbe35bf36fbecf0271346dc23be286e31314eb5dd18cd8f806f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43585303209"
    }
  ]
}