{
  "_id": "6a60d0951fed6d528131adc5",
  "Package": "class",
  "Priority": "recommended",
  "Version": "7.3-23",
  "Date": "2025-01-01",
  "Authors@R": "c(person(\"Brian\", \"Ripley\", role = c(\"aut\", \"cre\", \"cph\"),\nemail = \"Brian.Ripley@R-project.org\"),\nperson(\"William\", \"Venables\", role = \"cph\"))",
  "Description": "Various functions for classification, including k-nearest\nneighbour, Learning Vector Quantization and Self-Organizing\nMaps.",
  "Title": "Functions for Classification",
  "ByteCompile": "yes",
  "License": "GPL-2 | GPL-3",
  "URL": "http://www.stats.ox.ac.uk/pub/MASS4/",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-22 14:11:02 UTC",
    "User": "root"
  },
  "Author": "Brian Ripley [aut, cre, cph], William Venables [cph]",
  "Maintainer": "Brian Ripley <Brian.Ripley@R-project.org>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-01-01 10:25:33 UTC",
  "RemoteUrl": "https://github.com/cran/class",
  "RemoteRef": "HEAD",
  "RemoteSha": "5b34959d18ca5cc15c9e1d7fd739f14f74c15f09",
  "_user": "cran",
  "_type": "src",
  "_file": "class_7.3-23.tar.gz",
  "_fileid": "https://r2.ropensci.org/a67f701ff9840348bba51efc73b180044040895a392b3c59025b78bd144dd9cf",
  "_filesize": 157061,
  "_sha256": "a67f701ff9840348bba51efc73b180044040895a392b3c59025b78bd144dd9cf",
  "_expires": "2026-10-30T14:15:46.000Z",
  "_created": "2026-07-22T14:11:02.000Z",
  "_published": "2026-07-22T14:15:48.617Z",
  "_jobs": [
    {
      "job": 88947922198,
      "time": 81,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8532556687"
    },
    {
      "job": 88947922216,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8532604988"
    },
    {
      "job": 88947922355,
      "time": 90,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8532561212"
    },
    {
      "job": 88947922146,
      "time": 111,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8532572229"
    },
    {
      "job": 88947048383,
      "time": 185,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8532509628"
    },
    {
      "job": 88947922128,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8532564625"
    },
    {
      "job": 88947922142,
      "time": 219,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8532632789"
    },
    {
      "job": 88947922127,
      "time": 78,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8532555003"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29927087682",
  "_status": "success",
  "_upstream": "https://github.com/cran/class",
  "_commit": {
    "id": "5b34959d18ca5cc15c9e1d7fd739f14f74c15f09",
    "author": "Brian Ripley <Brian.Ripley@R-project.org>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 7.3-23\n",
    "time": 1735727133
  },
  "_maintainer": {
    "name": "Brian Ripley",
    "email": "brian.ripley@r-project.org"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 2580,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 622,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 73874,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/class"
  },
  "_mentions": 34,
  "_searchresults": 11024,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/class.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "7.3-0",
      "date": "2009-05-08"
    },
    {
      "version": "7.3-1",
      "date": "2009-10-28"
    },
    {
      "version": "7.3-2",
      "date": "2010-04-02"
    },
    {
      "version": "7.3-3",
      "date": "2010-12-09"
    },
    {
      "version": "7.3-4",
      "date": "2012-06-27"
    },
    {
      "version": "7.3-5",
      "date": "2012-10-08"
    },
    {
      "version": "7.3-6",
      "date": "2013-02-10"
    },
    {
      "version": "7.3-7",
      "date": "2013-04-03"
    },
    {
      "version": "7.3-8",
      "date": "2013-07-01"
    },
    {
      "version": "7.3-9",
      "date": "2013-08-21"
    },
    {
      "version": "7.3-10",
      "date": "2014-03-28"
    },
    {
      "version": "7.3-11",
      "date": "2014-07-21"
    },
    {
      "version": "7.3-12",
      "date": "2015-02-11"
    },
    {
      "version": "7.3-13",
      "date": "2015-06-29"
    },
    {
      "version": "7.3-14",
      "date": "2015-08-30"
    },
    {
      "version": "7.3-15",
      "date": "2019-01-01"
    },
    {
      "version": "7.3-16",
      "date": "2020-03-25"
    },
    {
      "version": "7.3-17",
      "date": "2020-04-26"
    },
    {
      "version": "7.3-18",
      "date": "2021-01-24"
    },
    {
      "version": "7.3-19",
      "date": "2021-05-03"
    },
    {
      "version": "7.3-20",
      "date": "2022-01-13"
    },
    {
      "version": "7.3-21",
      "date": "2023-01-23"
    },
    {
      "version": "7.3-22",
      "date": "2023-05-03"
    },
    {
      "version": "7.3-23",
      "date": "2025-01-01"
    }
  ],
  "_exports": [
    "batchSOM",
    "condense",
    "knn",
    "knn.cv",
    "knn1",
    "lvq1",
    "lvq2",
    "lvq3",
    "lvqinit",
    "lvqtest",
    "multiedit",
    "olvq1",
    "reduce.nn",
    "SOM",
    "somgrid"
  ],
  "_help": [
    {
      "page": "batchSOM",
      "title": "Self-Organizing Maps: Batch Algorithm",
      "topics": [
        "batchSOM"
      ]
    },
    {
      "page": "condense",
      "title": "Condense training set for k-NN classifier",
      "topics": [
        "condense"
      ]
    },
    {
      "page": "knn",
      "title": "k-Nearest Neighbour Classification",
      "topics": [
        "knn"
      ]
    },
    {
      "page": "knn.cv",
      "title": "k-Nearest Neighbour Cross-Validatory Classification",
      "topics": [
        "knn.cv"
      ]
    },
    {
      "page": "knn1",
      "title": "1-Nearest Neighbour Classification",
      "topics": [
        "knn1"
      ]
    },
    {
      "page": "lvq1",
      "title": "Learning Vector Quantization 1",
      "topics": [
        "lvq1"
      ]
    },
    {
      "page": "lvq2",
      "title": "Learning Vector Quantization 2.1",
      "topics": [
        "lvq2"
      ]
    },
    {
      "page": "lvq3",
      "title": "Learning Vector Quantization 3",
      "topics": [
        "lvq3"
      ]
    },
    {
      "page": "lvqinit",
      "title": "Initialize a LVQ Codebook",
      "topics": [
        "lvqinit"
      ]
    },
    {
      "page": "lvqtest",
      "title": "Classify Test Set from LVQ Codebook",
      "topics": [
        "lvqtest"
      ]
    },
    {
      "page": "multiedit",
      "title": "Multiedit for k-NN Classifier",
      "topics": [
        "multiedit"
      ]
    },
    {
      "page": "olvq1",
      "title": "Optimized Learning Vector Quantization 1",
      "topics": [
        "olvq1"
      ]
    },
    {
      "page": "reduce.nn",
      "title": "Reduce Training Set for a k-NN Classifier",
      "topics": [
        "reduce.nn"
      ]
    },
    {
      "page": "SOM",
      "title": "Self-Organizing Maps: Online Algorithm",
      "topics": [
        "SOM"
      ]
    },
    {
      "page": "somgrid",
      "title": "Plot SOM Fits",
      "topics": [
        "plot.SOM",
        "plot.somgrid",
        "somgrid"
      ]
    }
  ],
  "_rundeps": [
    "MASS"
  ],
  "_score": 10.799571780321253,
  "_indexed": true,
  "_nocasepkg": "class",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "7.3-23",
      "date": "2026-07-22T14:12:40.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5b34959d18ca5cc15c9e1d7fd739f14f74c15f09",
      "fileid": "https://r2.ropensci.org/b4fb0da27fab5c8664d9e55c2b02975640ae984c6b7fa388df9da7d399ae982a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29927087682"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "7.3-23",
      "date": "2026-07-22T14:13:44.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5b34959d18ca5cc15c9e1d7fd739f14f74c15f09",
      "fileid": "https://r2.ropensci.org/dc3f1689820c0912969ab58d63b047e44db1ddad77e18fce679fe5ff737e5f96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29927087682"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "7.3-23",
      "date": "2026-07-22T14:12:48.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5b34959d18ca5cc15c9e1d7fd739f14f74c15f09",
      "fileid": "https://r2.ropensci.org/f809ba1c9ecf2e440989885d938c7c4c7e93f880c46bc98ed78792ca7c38d1d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29927087682"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "7.3-23",
      "date": "2026-07-22T14:13:02.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5b34959d18ca5cc15c9e1d7fd739f14f74c15f09",
      "fileid": "https://r2.ropensci.org/cec7ba7034a903ff3f97fe2c3a7efc3c73762a2bd7183e5b2bdb3fe78566300a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29927087682"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "7.3-23",
      "date": "2026-07-22T14:13:00.000Z",
      "arch": "emscripten",
      "commit": "5b34959d18ca5cc15c9e1d7fd739f14f74c15f09",
      "fileid": "https://r2.ropensci.org/8515ce3370768480e17ecfd7e1f292df38cf787a53385a5f51794af99e9f638b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29927087682"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "7.3-23",
      "date": "2026-07-22T14:14:49.000Z",
      "arch": "aarch64",
      "commit": "5b34959d18ca5cc15c9e1d7fd739f14f74c15f09",
      "fileid": "https://r2.ropensci.org/7faf1790bc35a66ebe68d742f836badbbbb72c98c58278fc3ecdccfd6eff93d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29927087682"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "7.3-23",
      "date": "2026-07-22T14:12:15.000Z",
      "arch": "x86_64",
      "commit": "5b34959d18ca5cc15c9e1d7fd739f14f74c15f09",
      "fileid": "https://r2.ropensci.org/5eb49d424b83b13fb5ac76a0dffe0f2dd1c40b8191957ac81e43d7485cfd4bf6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29927087682"
    }
  ]
}