Skip to content

AdaSampling

Adaptive Sampling for Positive Unlabeled and Label Noise Learning

v1.3 · May 21, 2019 · GPL-3

Description

Implements the adaptive sampling procedure, a framework for both positive unlabeled learning and learning with class label noise. Yang, P., Ormerod, J., Liu, W., Ma, C., Zomaya, A., Yang, J. (2018) <doi:10.1109/TCYB.2018.2816984>.

Downloads

CRAN

336

Last 30 days

12683rd

816

Last 90 days

3.6K

Last year

Trend: +55.6% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

29

Last 90 days

118

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

12

Last 7 days

49

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Pengyi Yang <yangpy7@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Pengyi",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangpy7@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Pengyi Yang <yangpy7@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Pengyi",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangpy7@gmail.com")
as necessary.

Check History

NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Pengyi Yang <yangpy7@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Pengyi",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangpy7@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Pengyi Yang <yangpy7@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Pengyi",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangpy7@gmail.com")
as necessary.
ERROR 11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Pengyi Yang <yangpy7@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Pengyi",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangpy7@gmail.com")
as necessary.
ERROR r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Pengyi Yang <yangpy7@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Pengyi",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangpy7@gmail.com")
as necessary.
NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Pengyi Yang <yangpy7@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Pengyi",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangpy7@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Pengyi Yang <yangpy7@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Pengyi",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangpy7@gmail.com")
as necessary.
ERROR 9 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Pengyi Yang <yangpy7@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Pengyi",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangpy7@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Pengyi Yang <yangpy7@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Pengyi",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangpy7@gmail.com")
as necessary.
ERROR r-release-macos-x86_64

package dependencies

Package required but not available: ‘caret’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Pengyi Yang <yangpy7@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Pengyi",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangpy7@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Pengyi Yang <yangpy7@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Pengyi",
                    family = "Yang",
                    role = c("aut", "cre"),
                    email = "yangpy7@gmail.com")
as necessary.

Code

Structure

Lines of code

925

Files

20

Compiled share

0%

Has compiled src

No

Language breakdown

R 530 (57.3%)Docs 311 (33.6%)Vignettes 84 (9.1%)

API

Exported functions

4

Internal functions

0

Recent export changes

v1.3+1 weightedKNN
v1.0+3 adaSample, adaSvmBenchmark, singleIter

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

50%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

60%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.4.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2018-06-04

Latest release

2019-05-21

Avg cadence

176 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0: 851 LOCv1.1: 854 LOCv1.3: 925 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies caret class e1071 MASS AdaSampling

Version History

4 tracked
new 1.3 Mar 10, 2026
updated 1.3 ← 1.1 diff May 20, 2019
updated 1.1 ← 1.0 diff Jun 26, 2018
new 1.0 Jun 3, 2018