Multiple-Instance Learning with Support Vector Machines
Overview
Weakly supervised (WS), multiple instance (MI) data lives in numerous interesting applications such as drug discovery, object detection, and tumor prediction on whole slide images. The 'mildsvm' package provides an easy way to learn from this data by training Support Vector Machine (SVM)-based classifiers. It also contains helpful functions for building and printing multiple instance data frames. The core methods from 'mildsvm' come from the following references: Kent and Yu (2024) doi:10.1214/24-AOAS1876; Xiao, Liu, and Hao (2018) doi:10.1109/TNNLS.2017.2766164; Muandet et al. (2012) https://proceedings.neurips.cc/paper/2012/file/9bf31c7ff062936a96d3c8bd1f8f2ff3-Paper.pdf; Chu and Keerthi (2007) doi:10.1162/neco.2007.19.3.792; and Andrews et al. (2003) https://papers.nips.cc/paper/2232-support-vector-machines-for-multiple-instance-learning.pdf. Many functions use the 'Gurobi' optimization back-end to improve the optimization problem speed; the 'gurobi' R package and associated software can be downloaded from https://www.gurobi.com after obtaining a license.
- Minor fix to tests to pass CRAN checks on MKL
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-08
- ERROR12 OK, 1 ERROR2026-06-07
- OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 34 (1 internal)includes a package overview page
- Examples that run
- 100%32 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 61%
- Return-value docs
- 100%
- Help pages citing references
- 21%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 78
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
PRs over time
Commits over time
8 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/skent259/mildsvm on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 2 practices
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.4.2Latest
- RR 4.6.0 released · 2026-04-24
- 0.4.12025-08-20 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.4.02022-07-14
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-07-14
- Total releases
- 3 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 41 KB / 1 file
- Download size
- 336 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mildsvm")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.