{
  "_id": "6a185c7eacfb0bcc41dbbbfe",
  "Package": "oscar",
  "Type": "Package",
  "Title": "Optimal Subset Cardinality Regression (OSCAR) Models Using the\nL0-Pseudonorm",
  "Version": "1.2.1",
  "Date": "2023-10-02",
  "Authors@R": "c(\nperson(given=c(\"Teemu\", \"Daniel\"), family=\"Laajala\", role=c(\"aut\", \"cre\"), email=\"teelaa@utu.fi\", comment = c(ORCID = \"0000-0002-7016-7354\")),\nperson(given=\"Kaisa\", family=\"Joki\", role=c(\"aut\"), email=\"kjjoki@utu.fi\"),\nperson(given=\"Anni\", family=\"Halkola\", role=c(\"aut\"), email=\"ansuha@utu.fi\"))",
  "Description": "Optimal Subset Cardinality Regression (OSCAR) models offer\nregularized linear regression using the L0-pseudonorm,\nconventionally known as the number of non-zero coefficients.\nThe package estimates an optimal subset of features using the\nL0-penalization via cross-validation, bootstrapping and visual\ndiagnostics. Effective Fortran implementations are offered\nalong the package for finding optima for the DC-decomposition,\nwhich is used for transforming the discrete L0-regularized\noptimization problem into a continuous non-convex optimization\ntask. These optimization modules include DBDC ('Double Bundle\nmethod for nonsmooth DC optimization' as described in Joki et\nal. (2018) <doi:10.1137/16M1115733>) and LMBM ('Limited Memory\nBundle Method for large-scale nonsmooth optimization' as in\nHaarala et al. (2004) <doi:10.1080/10556780410001689225>). The\nOSCAR models are comprehensively exemplified in Halkola et al.\n(2023) <doi:10.1371/journal.pcbi.1010333>). Multiple regression\nmodel families are supported: Cox, logistic, and Gaussian.",
  "License": "GPL-3",
  "LazyData": "true",
  "URL": "https://github.com/Syksy/oscar",
  "BugReports": "https://github.com/Syksy/oscar/issues",
  "NeedsCompilation": "yes",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "Packaged": {
    "Date": "2026-05-28 15:11:03 UTC",
    "User": "root"
  },
  "Author": "Teemu Daniel Laajala [aut, cre]\n(<https://orcid.org/0000-0002-7016-7354>), Kaisa Joki [aut],\nAnni Halkola [aut]",
  "Maintainer": "Teemu Daniel Laajala <teelaa@utu.fi>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2023-10-02 15:31:15 UTC",
  "RemoteUrl": "https://github.com/cran/oscar",
  "RemoteRef": "HEAD",
  "RemoteSha": "86316f02b44ee45c7c072388fe840c2ea599b518",
  "MD5sum": "0c7fd02042985c38c24a7b764649c17b",
  "_user": "cran",
  "_type": "src",
  "_file": "oscar_1.2.1.tar.gz",
  "_fileid": "d7472cc48f5bc0846c8befe3c9069863fea005f890f38279740ad16eee4f0158",
  "_filesize": 659903,
  "_sha256": "d7472cc48f5bc0846c8befe3c9069863fea005f890f38279740ad16eee4f0158",
  "_created": "2026-05-28T15:11:03.000Z",
  "_published": "2026-05-28T15:17:18.507Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78322900151,
      "time": 324,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7269780625"
    },
    {
      "job": 78322899872,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7269716235"
    },
    {
      "job": 78322900075,
      "time": 163,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7269711853"
    },
    {
      "job": 78322899875,
      "time": 182,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7269719963"
    },
    {
      "job": 78322097614,
      "time": 225,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7269641642"
    },
    {
      "job": 78322899830,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7269702684"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26582530705",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/oscar",
  "_commit": {
    "id": "86316f02b44ee45c7c072388fe840c2ea599b518",
    "author": "Teemu Daniel Laajala <teelaa@utu.fi>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2.1\n",
    "time": 1696260675
  },
  "_maintainer": {
    "name": "Teemu Daniel Laajala",
    "email": "teelaa@utu.fi",
    "login": "syksy",
    "orcid": "0000-0002-7016-7354",
    "description": "Finn with a knack for bioinformatics (mostly cancer), artificial intelligence, machine learning, game jams, and all that jazz.",
    "uuid": 36551395
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "hamlet",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "ePCR",
      "role": "Suggests"
    },
    {
      "package": "glmnet",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "syksy",
      "count": 7,
      "uuid": 36551395
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 140,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/oscar"
  },
  "_devurl": "https://github.com/syksy/oscar",
  "_searchresults": 11,
  "_topics": [
    "fortran"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/oscar.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/syksy/oscar",
  "_realowner": "syksy",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.3",
      "date": "2022-05-20"
    },
    {
      "version": "1.0.4",
      "date": "2022-05-24"
    },
    {
      "version": "1.1.2-2",
      "date": "2023-03-13"
    },
    {
      "version": "1.1.4",
      "date": "2023-03-28"
    },
    {
      "version": "1.1.7",
      "date": "2023-08-08"
    },
    {
      "version": "1.2.0",
      "date": "2023-08-29"
    },
    {
      "version": "1.2.1",
      "date": "2023-10-02"
    }
  ],
  "_exports": [
    "coef",
    "cost",
    "feat",
    "kits",
    "oscar",
    "oscar.binarize",
    "oscar.binplot",
    "oscar.bs",
    "oscar.bs.boxplot",
    "oscar.bs.k",
    "oscar.bs.plot",
    "oscar.bs.visu",
    "oscar.control",
    "oscar.cost.after",
    "oscar.cv",
    "oscar.cv.visu",
    "oscar.pareto",
    "oscar.pareto.visu",
    "oscar.sparsify",
    "oscar.visu",
    "plot",
    "predict",
    "show"
  ],
  "_datasets": [
    {
      "name": "ex_c",
      "title": "Example data from TYKS / HUSLAB",
      "object": "ex",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "ex_K",
      "title": "Example data from TYKS / HUSLAB",
      "object": "ex",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "BMI",
        "HEIGHTBL",
        "WEIGHTBL",
        "SYSTOLICBP",
        "DIASTOLICBP",
        "PULSE",
        "HB",
        "HEMAT",
        "RBC",
        "WBC",
        "PLT",
        "LYMperLEU",
        "MONOperLEU",
        "NEU",
        "POT",
        "MONO",
        "BASOperLEU",
        "EOSperLEU",
        "NEUperLEU",
        "NA.",
        "CCRC",
        "LDH",
        "AST",
        "ALB",
        "ALP",
        "PSA",
        "CREAT",
        "CREACL",
        "LYM",
        "PHOS",
        "CA",
        "ALT",
        "TPRO",
        "EOS",
        "TESTO",
        "GLU",
        "MG",
        "TBILI"
      ],
      "rows": 22,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex_X",
      "title": "Example data from TYKS / HUSLAB",
      "object": "ex",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "BMI",
        "HEIGHTBL",
        "WEIGHTBL",
        "SYSTOLICBP",
        "DIASTOLICBP",
        "PULSE",
        "HB",
        "HEMAT",
        "RBC",
        "WBC",
        "PLT",
        "LYMperLEU",
        "MONOperLEU",
        "NEU",
        "POT",
        "MONO",
        "BASOperLEU",
        "EOSperLEU",
        "NEUperLEU",
        "NA.",
        "CCRC",
        "LDH",
        "AST",
        "ALB",
        "ALP",
        "PSA",
        "CREAT",
        "CREACL",
        "LYM",
        "PHOS",
        "CA",
        "ALT",
        "TPRO",
        "EOS",
        "TESTO",
        "GLU",
        "MG",
        "TBILI"
      ],
      "rows": 650,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex_Y",
      "title": "Example data from TYKS / HUSLAB",
      "object": "ex",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "Time",
        "Event"
      ],
      "rows": 650,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "oscar-package",
      "title": "oscar: Optimal Subset Cardinality Regression",
      "topics": [
        "oscar-package"
      ]
    },
    {
      "page": "oscar-methods",
      "title": "Extract coefficients of oscar-objects",
      "topics": [
        "coef,oscar-method",
        "plot,oscar-method",
        "predict,oscar-method"
      ]
    },
    {
      "page": "cost",
      "title": "Return total cost of model fit based on provided kit/variable costs vector",
      "topics": [
        "cost",
        "cost,oscar-method",
        "cost,oscar-methods"
      ]
    },
    {
      "page": "ex",
      "title": "Example data from TYKS / HUSLAB",
      "topics": [
        "ex_c",
        "ex_K",
        "ex_X",
        "ex_Y"
      ]
    },
    {
      "page": "feat",
      "title": "Return named vector of feature indices with a given k that are non-zero",
      "topics": [
        "feat",
        "feat,oscar-method",
        "feat,oscar-methods"
      ]
    },
    {
      "page": "kits",
      "title": "Return named vector of indices for kits with a given k that are non-zero",
      "topics": [
        "kits",
        "kits,oscar-method",
        "kits,oscar-methods"
      ]
    },
    {
      "page": "oscar",
      "title": "Main OSCAR fitting function",
      "topics": [
        "oscar"
      ]
    },
    {
      "page": "oscar-class",
      "title": "S4-class for oscar",
      "topics": [
        "oscar-class"
      ]
    },
    {
      "page": "oscar.binarize",
      "title": "Binary logical indicator matrix representation of an oscar object's coefficients (zero vs. non-zero, i.e. feature inclusion)",
      "topics": [
        "oscar.binarize"
      ]
    },
    {
      "page": "oscar.binplot",
      "title": "Visualize binary indicator matrix optionally coupled with cross-validation performance for oscar models",
      "topics": [
        "oscar.binplot"
      ]
    },
    {
      "page": "oscar.bs",
      "title": "Bootstrapping for oscar-fitted model objects",
      "topics": [
        "oscar.bs"
      ]
    },
    {
      "page": "oscar.bs.boxplot",
      "title": "Bootstrap visualization with boxplot, percentage of new additions",
      "topics": [
        "oscar.bs.boxplot"
      ]
    },
    {
      "page": "oscar.bs.k",
      "title": "Reformatting bootstrap output for cardinality k rows",
      "topics": [
        "oscar.bs.k"
      ]
    },
    {
      "page": "oscar.bs.plot",
      "title": "Bootstrap heatmap plot for oscar models",
      "topics": [
        "oscar.bs.plot"
      ]
    },
    {
      "page": "oscar.bs.visu",
      "title": "Visualize bootstrapping of a fit oscar object",
      "topics": [
        "oscar.bs.visu"
      ]
    },
    {
      "page": "oscar.control",
      "title": "Control OSCAR optimizer parameters",
      "topics": [
        "oscar.control"
      ]
    },
    {
      "page": "oscar.cost.after",
      "title": "Return total cost of model fits if the cost is not included in the oscar object",
      "topics": [
        "oscar.cost.after"
      ]
    },
    {
      "page": "oscar.cv",
      "title": "Cross-validation for oscar-fitted model objects over k-range",
      "topics": [
        "oscar.cv"
      ]
    },
    {
      "page": "oscar.cv.visu",
      "title": "Visualize cross-validation as a function of k",
      "topics": [
        "oscar.cv.visu"
      ]
    },
    {
      "page": "oscar.pareto",
      "title": "Retrieve a set of pareto-optimal points for an oscar-model based on model goodness-of-fit or cross-validation",
      "topics": [
        "oscar.pareto"
      ]
    },
    {
      "page": "oscar.pareto.visu",
      "title": "Visualize oscar model pareto front",
      "topics": [
        "oscar.pareto.visu"
      ]
    },
    {
      "page": "oscar.sparsify",
      "title": "Create a sparse matrix representation of betas as a function of k",
      "topics": [
        "oscar.sparsify"
      ]
    },
    {
      "page": "oscar.visu",
      "title": "Target function value and total kit cost as a function of number of kits included",
      "topics": [
        "oscar.visu"
      ]
    },
    {
      "page": "generics",
      "title": "Showing oscar-objects",
      "topics": [
        "show,oscar-method"
      ]
    }
  ],
  "_rundeps": [
    "hamlet",
    "lattice",
    "Matrix",
    "pROC",
    "Rcpp",
    "survival"
  ],
  "_sysdeps": [
    {
      "shlib": "libgfortran",
      "package": "libgfortran5",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "fortran",
      "homepage": "http://gcc.gnu.org/",
      "description": "Runtime library for GNU Fortran applications"
    }
  ],
  "_vignettes": [
    {
      "source": "example.Rmd",
      "filename": "example.html",
      "title": "Example use of the OSCAR package",
      "author": "Teemu Daniel Laajala",
      "engine": "knitr::rmarkdown",
      "headings": [
        "OSCAR modelling",
        "Cox regression (simulated TYKS real-world PCa data)",
        "Goodness of fit vs. model coefficient cost",
        "Cross-validation and bootstrapping",
        "Further useful commands",
        "Other model families",
        "Gaussian regression (swiss-data)",
        "References",
        "Session info"
      ],
      "created": "2022-05-20 17:20:01",
      "modified": "2023-08-29 02:57:29",
      "commits": 4
    }
  ],
  "_score": 2.0413926851582254,
  "_indexed": false,
  "_nocasepkg": "oscar",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://syksy.r-universe.dev/oscar",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-28T15:16:17.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "86316f02b44ee45c7c072388fe840c2ea599b518",
      "fileid": "2e61f64edde5a7392b98c1f58d826c7296be74be5a629032352aafb88d8646ce",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26582530705"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-28T15:13:39.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "86316f02b44ee45c7c072388fe840c2ea599b518",
      "fileid": "1dfa77e537b09fe220b3d585f22b1c669e903fc9666983ed9108d9aa81a2543a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26582530705"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-28T15:13:34.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "86316f02b44ee45c7c072388fe840c2ea599b518",
      "fileid": "7fddcf9c59589ca94fb1716b4458e7c67ef3a5815a22b36bb7d8ddcc6e49f433",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26582530705"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-28T15:13:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "86316f02b44ee45c7c072388fe840c2ea599b518",
      "fileid": "701607cedc82cc81fd8f6f73b724c20d4cd21e0b67153882fff365ca8f85022a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26582530705"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-05-28T15:13:42.000Z",
      "arch": "emscripten",
      "commit": "86316f02b44ee45c7c072388fe840c2ea599b518",
      "fileid": "8fda1d94d3a346e71733f14ef5a537fc46ca97cdb8c1ca0b75b69cb8ce4cf900",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26582530705"
    }
  ]
}