Learn R Programming

milr (version 0.4.1)

Multiple-Instance Logistic Regression with LASSO Penalty

Description

The multiple instance data set consists of many independent subjects (called bags) and each subject is composed of several components (called instances). The outcomes of such data set are binary or categorical responses, and, we can only observe the subject-level outcomes. For example, in manufacturing processes, a subject is labeled as "defective" if at least one of its own components is defective, and otherwise, is labeled as "non-defective". The 'milr' package focuses on the predictive model for the multiple instance data set with binary outcomes and performs the maximum likelihood estimation with the Expectation-Maximization algorithm under the framework of logistic regression. Moreover, the LASSO penalty is attached to the likelihood function for simultaneous parameter estimation and variable selection.

Copy Link

Version

Install

install.packages('milr')

Monthly Downloads

248

Version

0.4.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

PingYang Chen

Last Published

September 19th, 2025

Functions in milr (0.4.1)

milr-package

The milr package: multiple-instance logistic regression with lasso penalty
fitted.milr

Fitted Response of milr Fits
softmax

Multiple-instance logistic regression via softmax function
DGP

DGP: data generation
predict.milr

Predict Method for milr Fits
milr

Maximum likelihood estimation of multiple-instance logistic regression with LASSO penalty
fitted.softmax

Fitted Response of softmax Fits
logit

logit link function
predict.softmax

Predict Method for softmax Fits