Skip to content

Replace iris examples and test fixtures - #226

Merged
t-kalinowski merged 15 commits into
mainfrom
remove-iris
Aug 20, 2026
Merged

Replace iris examples and test fixtures#226
t-kalinowski merged 15 commits into
mainfrom
remove-iris

Conversation

@t-kalinowski

@t-kalinowski t-kalinowski commented Aug 12, 2026

Copy link
Copy Markdown
Member

Summary

  • Replace deprecated iris examples across the public documentation with compact datasets from modeldata, and use Old Faithful for the release post's concise k-means demonstration.
  • Replace the internal iris-based GPU test fixture with Palmer penguins, preserving coverage for multiclass modeling, clustering, serialization, and dimensionality reduction.
  • Update the tidymodels examples to use current native-pipe APIs, add the optional dataset dependencies, and regenerate the README, function reference, vignettes, and pkgdown site.

Public-facing changes

All user-facing examples now avoid iris and use complete datasets without missing-value cleanup. The release post keeps installation focused on cuda.ml and assumes optional example packages are available. Other documentation uses ordinary numeric literals and set.seed() where reproducibility matters.

Internal changes

GPU tests use a shared, scaled Palmer penguins fixture. Dataset-dependent assertions now account for component-sign ambiguity and compare clustering quality using inertia and adjusted Rand index. There are no public API changes.

Testing

  • Rscript -e 'devtools::test(reporter = "progress")' (424 passed, 9 skipped)
  • R CMD build /home/tomasz/github/mlverse/cuda.ml
  • _R_CHECK_CRAN_INCOMING_=false _R_CHECK_SYSTEM_CLOCK_=false R CMD check --no-manual --as-cran cuda.ml_0.4.0.tar.gz (Status: OK)
  • Rscript -e 'rmarkdown::render("README.Rmd")'
  • Rscript -e 'pkgdown::build_site()'
  • Rendered the Old Faithful k-means plot with Quarto against the GPU backend.

@t-kalinowski t-kalinowski changed the title Replace iris examples with Palmer penguins Replace iris examples and test fixtures Aug 12, 2026
@t-kalinowski
t-kalinowski marked this pull request as ready for review August 20, 2026 13:24
@t-kalinowski
t-kalinowski merged commit e0d89d4 into main Aug 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant