Skip to content

ExNRuleEnsemble

0.1.1

A k Nearest Neibour Ensemble Based on Extended Neighbourhood Rule

0packages depend
2.4Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Amjad AliFirst published 2022-12-142 releasesCRAN page ↗

The extended neighbourhood rule for the k nearest neighbour ensemble where the neighbours are determined in k steps. Starting from the first nearest observation of the test point, the algorithm identifies a single observation that is closest to the observation at the previous step. At each base learner in the ensemble, this search is extended to k steps on a random bootstrap sample with a random subset of features selected from the feature space. The final predicted class of the test point is determined by using a majority vote in the predicted classes given by all base models. Amjad Ali, Muhammad Hamraz, Naz Gul, Dost Muhammad Khan, Saeed Aldahmani, Zardad Khan (2022) doi:10.48550/arXiv.2205.15111.

Install

Health

CRAN checks
13OK
Slowest check: 52 s · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
None
Vignettes
No
README
1
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

2.4K
CRAN downloads in the past year
Rank #18,774 · ~7/day · ~203/mo
Daily download trend is not available in this view yet.
24730 days
63090 days
2.4K1 year
Compare downloads with other packages →
Also on98 r2u10 autocran

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (1)
R >= 2.10
Imports (1)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
Rd 105 (67%)R 51 (33%)
Code characteristics
Cyclomatic complexity
5.0 median / 5 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

1 0 exported

Complexity

5 avg / 5 max

Call network

1 nodes / 0 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (4)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (4)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Release timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.1Latest
    2022-12-19 · current release · diff ↗
  • 0.1.0
    2022-12-14
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-12-14
Total releases
2 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 2.10
Bundled data
5.8 KB / 1 file
Download size
9.6 KB
Installed size
not tracked yet
With dependencies
not tracked yet