{
  "_id": "6a548295ff0138dec5d647a5",
  "Package": "kknn",
  "Title": "Weighted k-Nearest Neighbors",
  "Version": "1.4.1",
  "Authors@R": "c(\nperson(\"Klaus\", \"Schliep\", , \"klaus.schliep@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Klaus\", \"Hechenbichler\", role = \"aut\"),\nperson(\"Antoine\", \"Lizee\", , \"antoine.lizee@gmail.com\", role = \"ctb\")\n)",
  "Description": "Weighted k-Nearest Neighbors for Classification,\nRegression and Clustering.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/KlausVigo/kknn",
  "BugReports": "https://github.com/KlausVigo/kknn/issues",
  "ByteCompile": "TRUE",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://klausvigo.r-universe.dev",
  "Date/Publication": "2025-05-19 09:01:57 UTC",
  "RemoteUrl": "https://github.com/klausvigo/kknn",
  "RemoteRef": "HEAD",
  "RemoteSha": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
  "Packaged": {
    "Date": "2026-07-13 06:09:36 UTC",
    "User": "root"
  },
  "Author": "Klaus Schliep [aut, cre],\nKlaus Hechenbichler [aut],\nAntoine Lizee [ctb]",
  "Maintainer": "Klaus Schliep <klaus.schliep@gmail.com>",
  "_user": "klausvigo",
  "_type": "src",
  "_file": "kknn_1.4.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/eb272a760fe6241ff22726d477201f17db9b436850092977d93e76c7312189cb",
  "_filesize": 553268,
  "_sha256": "eb272a760fe6241ff22726d477201f17db9b436850092977d93e76c7312189cb",
  "_expires": "2026-10-21T06:15:47.000Z",
  "_created": "2026-07-13T06:09:36.000Z",
  "_published": "2026-07-13T06:15:49.633Z",
  "_jobs": [
    {
      "job": 86746582200,
      "time": 204,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8270574512"
    },
    {
      "job": 86746582236,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8270558457"
    },
    {
      "job": 86746582202,
      "time": 194,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8270571339"
    },
    {
      "job": 86746582175,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8270567545"
    },
    {
      "job": 86746582245,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8270549934"
    },
    {
      "job": 86746582168,
      "time": 324,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8270607331"
    },
    {
      "job": 86746582187,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8270552026"
    },
    {
      "job": 86746582192,
      "time": 193,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8270570687"
    },
    {
      "job": 86746126328,
      "time": 198,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8270515450"
    },
    {
      "job": 86746582182,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8270551441"
    },
    {
      "job": 86746582155,
      "time": 91,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8270541367"
    },
    {
      "job": 86746582183,
      "time": 87,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8270540583"
    },
    {
      "job": 86746582224,
      "time": 86,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8270540151"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/klausvigo/actions/runs/29227997098",
  "_status": "success",
  "_upstream": "https://github.com/klausvigo/kknn",
  "_commit": {
    "id": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
    "author": "Klaus Schliep <klaus.schliep@gmail.com>",
    "committer": "Klaus Schliep <klaus.schliep@gmail.com>",
    "message": "merge\n\nMerge branch 'master' of https://github.com/KlausVigo/kknn\n# Bitte geben Sie eine Commit-Beschreibung ein, um zu erklären, warum dieser\n# Merge erforderlich ist, insbesondere wenn es einen aktualisierten\n# Upstream-Branch mit einem Thema-Branch zusammenführt.\n#\n# Zeilen, die mit '#' beginnen, werden ignoriert,\n# und eine leere Beschreibung bricht den Commit ab.\n",
    "time": 1747645317
  },
  "_maintainer": {
    "name": "Klaus Schliep",
    "email": "klaus.schliep@gmail.com",
    "login": "klausvigo",
    "description": "Senior Scientist at TU Graz",
    "uuid": 3372431
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "version": ">= 1.0",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "klausvigo",
  "_selfowned": true,
  "_usedby": 26,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "nearest-neighbor"
  ],
  "_stars": 24,
  "_contributors": [
    {
      "user": "klausvigo",
      "count": 85,
      "uuid": 3372431
    },
    {
      "user": "antoine-lizee",
      "count": 4,
      "uuid": 2957716
    },
    {
      "user": "koenderks",
      "count": 1,
      "uuid": 25059399
    },
    {
      "user": "laurentgatto",
      "count": 1,
      "uuid": 32748897
    },
    {
      "user": "topepo",
      "count": 1,
      "uuid": 5731043
    }
  ],
  "_userbio": {
    "uuid": 3372431,
    "type": "user",
    "name": "Klaus Schliep",
    "followers": 88,
    "description": "Senior Scientist at TU Graz"
  },
  "_downloads": {
    "count": 8481,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/kknn"
  },
  "_mentions": 17,
  "_devurl": "https://github.com/klausvigo/kknn",
  "_searchresults": 5072,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/kknn.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/klausvigo/kknn",
  "_realowner": "klausvigo",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0-1",
      "date": "2004-11-22"
    },
    {
      "version": "1.0.3",
      "date": "2006-04-11"
    },
    {
      "version": "1.0-4",
      "date": "2007-09-13"
    },
    {
      "version": "1.0-5",
      "date": "2007-10-11"
    },
    {
      "version": "1.0-6",
      "date": "2008-07-20"
    },
    {
      "version": "1.0-7",
      "date": "2009-07-18"
    },
    {
      "version": "1.0-8",
      "date": "2010-08-05"
    },
    {
      "version": "1.1-1",
      "date": "2011-10-12"
    },
    {
      "version": "1.1-2",
      "date": "2012-06-22"
    },
    {
      "version": "1.2-0",
      "date": "2012-10-05"
    },
    {
      "version": "1.2-1",
      "date": "2012-10-30"
    },
    {
      "version": "1.2-2",
      "date": "2013-03-13"
    },
    {
      "version": "1.2-3",
      "date": "2013-12-16"
    },
    {
      "version": "1.2-4",
      "date": "2014-02-11"
    },
    {
      "version": "1.2-5",
      "date": "2014-02-11"
    },
    {
      "version": "1.3.0",
      "date": "2015-07-09"
    },
    {
      "version": "1.3.1",
      "date": "2016-03-26"
    },
    {
      "version": "1.4.0",
      "date": "2025-04-16"
    },
    {
      "version": "1.4.1",
      "date": "2025-05-19"
    }
  ],
  "_exports": [
    "contr.dummy",
    "contr.metric",
    "contr.ordinal",
    "cv.kknn",
    "kknn",
    "kknn.dist",
    "specClust",
    "train.kknn"
  ],
  "_datasets": [
    {
      "name": "glass",
      "title": "Glass Identification Database",
      "object": "glass",
      "file": "glass.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Id",
        "RI",
        "Na",
        "Mg",
        "Al",
        "Si",
        "K",
        "Ca",
        "Ba",
        "Fe",
        "Type"
      ],
      "rows": 214,
      "table": true,
      "tojson": true
    },
    {
      "name": "ionosphere",
      "title": "Johns Hopkins University Ionosphere Database",
      "object": "ionosphere",
      "file": "ionosphere.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "V2",
        "V3",
        "V4",
        "V5",
        "V6",
        "V7",
        "V8",
        "V9",
        "V10",
        "V11",
        "V12",
        "V13",
        "V14",
        "V15",
        "V16",
        "V17",
        "V18",
        "V19",
        "V20",
        "V21",
        "V22",
        "V23",
        "V24",
        "V25",
        "V26",
        "V27",
        "V28",
        "V29",
        "V30",
        "V31",
        "V32",
        "V33",
        "V34",
        "class"
      ],
      "rows": 351,
      "table": true,
      "tojson": true
    },
    {
      "name": "miete",
      "title": "Munich Rent Standard Database (1994)",
      "object": "miete",
      "file": "miete.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "nm",
        "wfl",
        "bj",
        "bad0",
        "zh",
        "ww0",
        "badkach",
        "fenster",
        "kueche",
        "mvdauer",
        "bjkat",
        "wflkat",
        "nmqm",
        "rooms",
        "nmkat",
        "adr",
        "wohn"
      ],
      "rows": 1082,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "contr.dummy",
      "title": "Contrast Matrices",
      "topics": [
        "contr.dummy",
        "contr.metric",
        "contr.ordinal"
      ]
    },
    {
      "page": "glass",
      "title": "Glass Identification Database",
      "topics": [
        "glass"
      ]
    },
    {
      "page": "ionosphere",
      "title": "Johns Hopkins University Ionosphere Database",
      "topics": [
        "ionosphere"
      ]
    },
    {
      "page": "kknn",
      "title": "Weighted k-Nearest Neighbor Classifier",
      "topics": [
        "kknn",
        "kknn.dist",
        "predict.kknn",
        "print.kknn",
        "summary.kknn"
      ]
    },
    {
      "page": "miete",
      "title": "Munich Rent Standard Database (1994)",
      "topics": [
        "miete"
      ]
    },
    {
      "page": "train.kknn",
      "title": "Training kknn",
      "topics": [
        "cv.kknn",
        "plot.train.kknn",
        "predict.train.kknn",
        "print.train.kknn",
        "summary.train.kknn",
        "train.kknn"
      ]
    },
    {
      "page": "specClust",
      "title": "Spectral Clustering",
      "topics": [
        "plot.specClust",
        "specClust"
      ]
    }
  ],
  "_readme": "https://github.com/klausvigo/kknn/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pkgconfig",
    "rlang",
    "vctrs"
  ],
  "_score": 11.206962148148927,
  "_indexed": true,
  "_nocasepkg": "kknn",
  "_universes": [
    "klausvigo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.1",
      "date": "2026-07-13T06:13:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
      "fileid": "https://r2.ropensci.org/d14b18cff0e4ead38efd0d46e067dfbf0a3645b356603b1e2efc868248dc7865",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klausvigo/actions/runs/29227997098"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.1",
      "date": "2026-07-13T06:11:59.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
      "fileid": "https://r2.ropensci.org/dfbd7aa3b7e620b6c6900a10ac5ea2d7b4e49de132f31070b1aa44c1fe370123",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klausvigo/actions/runs/29227997098"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.1",
      "date": "2026-07-13T06:12:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
      "fileid": "https://r2.ropensci.org/be6f10b6030af4291c8dd13af0fb291564a3328bc476e41220b48c19d85caad8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klausvigo/actions/runs/29227997098"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.1",
      "date": "2026-07-13T06:12:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
      "fileid": "https://r2.ropensci.org/778b893bccbfb1cfe58812db4c4c5f4d6c573a91b7640f9cc32770b51c0dbdae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klausvigo/actions/runs/29227997098"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.1",
      "date": "2026-07-13T06:11:28.000Z",
      "arch": "aarch64",
      "commit": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
      "fileid": "https://r2.ropensci.org/05605dcea988e5c05c6c29347f17813dfd43932bac05f3f9a6b91ee87f842c02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klausvigo/actions/runs/29227997098"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.1",
      "date": "2026-07-13T06:14:04.000Z",
      "arch": "x86_64",
      "commit": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
      "fileid": "https://r2.ropensci.org/88768274dc48b0ff71e1ec9f6d4697a74e5433625a51453749cab06aed6f9653",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klausvigo/actions/runs/29227997098"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.1",
      "date": "2026-07-13T06:11:41.000Z",
      "arch": "aarch64",
      "commit": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
      "fileid": "https://r2.ropensci.org/526b4fc8a7dba6cd77f16f4e83a76820df55ff62c4315b614976577da976c0c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klausvigo/actions/runs/29227997098"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.1",
      "date": "2026-07-13T06:12:31.000Z",
      "arch": "x86_64",
      "commit": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
      "fileid": "https://r2.ropensci.org/2e9fdf3a4b309eac9e207e2103ffbc870ff3ed3406f804dbfc25e043d2170487",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klausvigo/actions/runs/29227997098"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.1",
      "date": "2026-07-13T06:12:03.000Z",
      "arch": "emscripten",
      "commit": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
      "fileid": "https://r2.ropensci.org/6bc07b4bee262b2dd815b3c28bbb6e69a8dad874f470a959ab76647214cadc18",
      "status": "success",
      "buildurl": "https://github.com/r-universe/klausvigo/actions/runs/29227997098"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.1",
      "date": "2026-07-13T06:10:47.000Z",
      "arch": "x86_64",
      "commit": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
      "fileid": "https://r2.ropensci.org/489532c2a47c4305c5f2c253bf3f70d5abc150ac014188e344f83b07e447a73e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klausvigo/actions/runs/29227997098"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.1",
      "date": "2026-07-13T06:10:47.000Z",
      "arch": "x86_64",
      "commit": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
      "fileid": "https://r2.ropensci.org/44922e6ebb98f0528af5ede87e9e4ac7813f5403d4cab8286ddbfd2522a728a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klausvigo/actions/runs/29227997098"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.1",
      "date": "2026-07-13T06:10:44.000Z",
      "arch": "x86_64",
      "commit": "61ebf7c521bc4787091ab0d028877a09ff91afe4",
      "fileid": "https://r2.ropensci.org/e6af49a0fc1197ad9fd306c944b727c2e7e463cb2e43dce048fdebff67e60870",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/klausvigo/actions/runs/29227997098"
    }
  ]
}