{
  "_id": "6a1becf91d7bb097a0a20172",
  "Package": "rare",
  "Type": "Package",
  "Title": "Linear Model with Tree-Based Lasso Regularization for Rare\nFeatures",
  "Version": "0.1.1",
  "Author": "Xiaohan Yan [aut, cre], Jacob Bien [aut, cre]",
  "Maintainer": "Xiaohan Yan <xy257@cornell.edu>",
  "Description": "Implementation of an alternating direction method of\nmultipliers algorithm for fitting a linear model with\ntree-based lasso regularization, which is proposed in Algorithm\n1 of Yan and Bien (2018) <arXiv:1803.06675>. The package allows\nefficient model fitting on the entire 2-dimensional\nregularization path for large datasets. The complete set of\nfunctions also makes the entire process of tuning\nregularization parameters and visualizing results hassle-free.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.1.2",
  "URL": "https://github.com/yanxht/rare",
  "BugReports": "https://github.com/yanxht/rare/issues",
  "Repository": "https://yanxht.r-universe.dev",
  "Date/Publication": "2022-01-24 23:55:21 UTC",
  "RemoteUrl": "https://github.com/yanxht/rare",
  "RemoteRef": "HEAD",
  "RemoteSha": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-31 07:47:15 UTC",
    "User": "root"
  },
  "MD5sum": "8d40dc99582f957c003f58935a1c5eb7",
  "_user": "yanxht",
  "_type": "src",
  "_file": "rare_0.1.1.tar.gz",
  "_fileid": "91fae7590973f34f994d8a79ee868c67e08cc891e9a7531a8538c91c3d01e6a0",
  "_filesize": 2590555,
  "_sha256": "91fae7590973f34f994d8a79ee868c67e08cc891e9a7531a8538c91c3d01e6a0",
  "_created": "2026-05-31T07:47:15.000Z",
  "_published": "2026-05-31T08:10:33.256Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78709789937,
      "time": 209,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7314969667"
    },
    {
      "job": 78709789935,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7314964772"
    },
    {
      "job": 78709789939,
      "time": 140,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7314965438"
    },
    {
      "job": 78709789934,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7314966313"
    },
    {
      "job": 78709789941,
      "time": 121,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7315100874"
    },
    {
      "job": 78709789931,
      "time": 357,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7314986295"
    },
    {
      "job": 78709789933,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7315083630"
    },
    {
      "job": 78709789940,
      "time": 236,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7314973648"
    },
    {
      "job": 78709595070,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314949798"
    },
    {
      "job": 78709789929,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314963328"
    },
    {
      "job": 78709789946,
      "time": 206,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7314973145"
    },
    {
      "job": 78709789928,
      "time": 135,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7314965102"
    },
    {
      "job": 78709789936,
      "time": 116,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7314962990"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yanxht/actions/runs/26706832204",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/yanxht/rare",
  "_commit": {
    "id": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
    "author": "jacobbien <jbien@usc.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #2 from jacobbien/master\n\nMake S3 class \"rarefit\" and add print and plot functions",
    "time": 1643068521
  },
  "_maintainer": {
    "name": "Xiaohan Yan",
    "email": "xy257@cornell.edu",
    "login": "yanxht",
    "description": "Xiaohan is pronounced as \"shyou-hahn\" in English",
    "uuid": 14796257
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.1",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "dendextend",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "yanxht",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "yanxht",
      "count": 10,
      "uuid": 14796257
    },
    {
      "user": "jacobbien",
      "count": 4,
      "uuid": 2008608
    }
  ],
  "_userbio": {
    "uuid": 14796257,
    "type": "user",
    "name": "Xiaohan Yan",
    "description": "Xiaohan is pronounced as \"shyou-hahn\" in English"
  },
  "_downloads": {
    "count": 184,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rare"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/yanxht/rare",
  "_searchresults": 17,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/rare.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/yanxht/rare",
  "_realowner": "yanxht",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-03-22"
    },
    {
      "version": "0.1.1",
      "date": "2018-08-03"
    },
    {
      "version": "0.1.2",
      "date": "2025-06-16"
    }
  ],
  "_exports": [
    "find.leaves",
    "group.plot",
    "group.recover",
    "rarefit",
    "rarefit.cv",
    "rarefit.predict",
    "tree.matrix"
  ],
  "_datasets": [
    {
      "name": "data.dtm",
      "title": "Document-term matrix for adjectives in TripAdvisor hotel reviews",
      "object": "data.dtm",
      "class": [
        "dgCMatrix"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "data.hc",
      "title": "Hierarchical clustering tree for adjectives in TripAdvisor data set",
      "object": "data.hc",
      "class": [
        "hclust"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "data.rating",
      "title": "TripAdvisor hotel review ratings",
      "object": "data.rating",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "rare-package",
      "title": "Model path for tree-based lasso framework for selecting rare features",
      "topics": [
        "rare-package"
      ]
    },
    {
      "page": "data.dtm",
      "title": "Document-term matrix for adjectives in TripAdvisor hotel reviews",
      "topics": [
        "data.dtm"
      ]
    },
    {
      "page": "data.hc",
      "title": "Hierarchical clustering tree for adjectives in TripAdvisor data set",
      "topics": [
        "data.hc"
      ]
    },
    {
      "page": "data.rating",
      "title": "TripAdvisor hotel review ratings",
      "topics": [
        "data.rating"
      ]
    },
    {
      "page": "find.leaves",
      "title": "Find all descendant leaves of a node in an hclust tree",
      "topics": [
        "find.leaves"
      ]
    },
    {
      "page": "group.plot",
      "title": "Visualize groups by coloring branches and leaves of an hclust tree",
      "topics": [
        "group.plot"
      ]
    },
    {
      "page": "group.recover",
      "title": "Recover aggregated groups of leaf indices",
      "topics": [
        "group.recover"
      ]
    },
    {
      "page": "plot.rarefit",
      "title": "Plot a rarefit object",
      "topics": [
        "plot.rarefit"
      ]
    },
    {
      "page": "print.rarefit",
      "title": "Print information about a rarefit object",
      "topics": [
        "print.rarefit"
      ]
    },
    {
      "page": "rarefit",
      "title": "Fit the rare feature selection model",
      "topics": [
        "rarefit"
      ]
    },
    {
      "page": "rarefit.cv",
      "title": "Perform K-fold cross validation",
      "topics": [
        "rarefit.cv"
      ]
    },
    {
      "page": "rarefit.predict",
      "title": "Make predictions from a rarefit object and a rarefit.cv object",
      "topics": [
        "rarefit.predict"
      ]
    },
    {
      "page": "tree.matrix",
      "title": "Generate matrix A encoding ancestor-descendant relationships in an hclust tree",
      "topics": [
        "tree.matrix"
      ]
    }
  ],
  "_readme": "https://github.com/yanxht/rare/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "foreach",
    "glmnet",
    "iterators",
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "shape",
    "survival"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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": "rare-vignette.Rmd",
      "filename": "rare-vignette.html",
      "title": "Using the rare package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Using the rare package",
        "Xiaohan Yan",
        "March 15, 2018",
        "The Problem",
        "A Data Example",
        "Fit the Model",
        "Perform K-Fold Cross Validation",
        "Make Predictions for New Observations",
        "Visualize Aggregated Groups in a Colored Tree",
        "References"
      ],
      "created": "2018-03-16 00:58:29",
      "modified": "2019-04-25 19:43:36",
      "commits": 3
    }
  ],
  "_score": 5.447932865592181,
  "_indexed": true,
  "_nocasepkg": "rare",
  "_universes": [
    "yanxht"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-31T07:50:07.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "4a03f479a03c0cc2173d33a9d60a46cffd9aace85eb58302882811716df0c346",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/26706832204"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-31T07:49:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "0d5d455ce4fc860345cae47867c4fa87c2b0c49c56c99ece3cf960f9d9a27d41",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/26706832204"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-31T07:49:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "3a270612d149ce01a2c02393b2120dc02c371211a8a8a6118922101a770058ad",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/26706832204"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-31T07:49:33.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "7e2ebc2f6a5187e4e4656ae01dd4a3bc65b85b8941708e383e68c3bba7f5d66a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/26706832204"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-31T08:09:40.000Z",
      "arch": "aarch64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "36221c46fd9ef191750a8003e6909ae6b3e5ec4c610ac3b681a736395617769d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/26706832204"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-31T07:52:08.000Z",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "b5aac7a5a7a37fba2d2635432910a7f64b36d20c9e928a3e98bae55a90a3a448",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/26706832204"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-31T08:07:20.000Z",
      "arch": "aarch64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "dd1271db0958c6100659c00d09a8332c746c92d4747cc4e229f397f8b58d082f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/26706832204"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-31T07:50:24.000Z",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "2aa8a1232929df9b262f43907784d170a892e636bbbe9501fd22ba931cf0a284",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/26706832204"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-05-31T07:49:37.000Z",
      "arch": "emscripten",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "ad620fbc007a9b5c3147dcd59412c8827e4e8ed3091063ab4edb3183a8ba7d0b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/26706832204"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-31T07:50:12.000Z",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "a285af8cee79256d3ff6a5e02731e3fc65965fe785bd683bf057272e3133b88f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/26706832204"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-31T07:48:57.000Z",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "86230cca25fd7ef20182c094491f766efe44814f35e41274c5213ae55f098b3d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/26706832204"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-31T07:48:44.000Z",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "1ae3728a79155fe60f4e9c8d2f8407d88c427e1663745d8573a2ff5738c3308c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/26706832204"
    }
  ]
}