domisaul

Do Multiple Imputation-Semisupervised And Unsupervised Learning

https://github.com/lilithf/domisaul

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    1 of 4 committers (25.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Do Multiple Imputation-Semisupervised And Unsupervised Learning

Basic Info
  • Host: GitHub
  • Owner: LilithF
  • License: gpl-3.0
  • Language: R
  • Default Branch: main
  • Size: 798 KB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created about 5 years ago · Last pushed over 4 years ago
Metadata Files
Readme License

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# doMIsaul 



[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![R-CMD-check](https://github.com/LilithF/doMIsaul/workflows/R-CMD-check/badge.svg)](https://github.com/LilithF/doMIsaul/actions)
[![](https://img.shields.io/github/last-commit/LilithF/doMIsaul.svg)](https://github.com/LilithF/doMIsaul/commits/main)


## Overview

The goal of \code{doMIsaul} package is to provide functions to perform 
unsupervised and semisupervised learning for an incomplete dataset.

## Installation








You can install the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("LilithF/doMIsaul")
```
## Example

This is a basic example which shows you how to perform unsupervised learning 
for an incomplete dataset:

```{r example_unsup}
library(doMIsaul)
data(cancer, package = "survival")
cancer$status <- cancer$status - 1
cancer <- cancer[, -1]

set.seed(1243)
res.unsup <- 
  unsupMI(data = list(cancer), Impute = "MImpute_surv", Impute.m = 10,
          cleanup.partition = TRUE, return.detail = TRUE)

cancer$part_unsup <- res.unsup$Consensus

plot_MIpca(res.unsup$Imputed.data, 1:228, color.var = cancer$part_unsup,
           pca.varsel = c("age", "sex", "ph.ecog", "ph.karno", "pat.karno",
                          "meal.cal",  "wt.loss"))

plot_boxplot(data = cancer, partition.name = "part_unsup",
             vars.cont = c("age", "meal.cal", "wt.loss"),
             unclass.name = "Unclassified", include.unclass = FALSE)

plot_frequency(data = cancer, partition.name = "part_unsup",
               vars.cat = c("sex", "ph.ecog"))

```

This is a basic example which shows you how to perform semisupervised learning 
for an incomplete dataset with a survival outcome:


```{r example_semisup}
## With imputation included
set.seed(345)
res.semisup <- 
  seMIsupcox(X = list(cancer[, setdiff(colnames(cancer), "part_unsup")]),
             Y = cancer[, c("time", "status")],
             Impute = TRUE, Impute.m = 10, center.init = TRUE,
             nfolds = 10, center.init.N = 50, 
             cleanup.partition = TRUE, return.detail = TRUE)
# This is an example, a larger value for center.init.N is recommended.

cancer$part_semisup <- res.semisup$Consensus[[1]]

plot_MIpca(res.semisup$Imputed.data, NULL, color.var = cancer$part_semisup,
           pca.varsel = c("age", "sex", "ph.ecog", "ph.karno", "pat.karno",
                          "meal.cal",  "wt.loss"))

plot_boxplot(data = cancer, partition.name = "part_semisup",
             vars.cont = c("age", "meal.cal", "wt.loss"),
             unclass.name = "Unclassified", include.unclass = TRUE)

plot_frequency(data = cancer, partition.name = "part_semisup",
               vars.cat = c("sex", "ph.ecog"))


```






## Reference publications
You may find more details on the methods implemented in this package in the 
associated publications: 

* Unsupervised MI learning: Faucheux L, Resche-Rigon M, Curis E, Soumelis V, 
Chevret S., Clustering with missing and left-censored data: A simulation study
comparing multiple-imputation-based procedures. Biometrical Journal. 2021;
63: 372– 393. 
* Semisupervised MI learning for a survival outcome: Faucheux L, Soumelis V,
Chevret S., Multiobjective semisupervised learning with a right-censored
endpoint adapted to the multiple imputation framework. Biometrical Journal.
2021; 1– 21. 




GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 81
  • Total Committers: 4
  • Avg Commits per committer: 20.25
  • Development Distribution Score (DDS): 0.037
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
LilithF l****x@i****r 78
LilithF l****x@s****l 1
Marie-PerrotDockes m****s@g****m 1
LilithF 4****F 1
Committer Domains (Top 20 + Academic)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
cran.r-project.org: doMIsaul

Do Multiple Imputation-Based Semi-Supervised and Unsupervised Learning

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 0
Rankings
Forks count: 21.9%
Stargazers count: 28.5%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Average: 41.1%
Downloads: 89.7%
Last synced: over 2 years ago

Dependencies

DESCRIPTION cran
  • Gmedian * imports
  • MASS * imports
  • NbClust * imports
  • aricode * imports
  • arules * imports
  • clusterCrit * imports
  • dplyr * imports
  • ggplot2 * imports
  • graphics * imports
  • methods * imports
  • mice * imports
  • ncvreg * imports
  • plyr * imports
  • scales * imports
  • stats * imports
  • survival * imports
  • utils * imports
  • withr * imports
  • CPE * suggests
  • Hmisc * suggests
  • RColorBrewer * suggests
  • censReg * suggests
  • clustMixType * suggests
  • cluster * suggests
  • dbscan * suggests
  • e1071 * suggests
  • ggpubr * suggests
  • igraph * suggests
  • mclust * suggests
  • parallel * suggests
  • reshape2 * suggests
  • testthat >= 3.0.0 suggests
  • timeROC * suggests
  • truncnorm * suggests