All Projects → PLN-team → PLNmodels

PLN-team / PLNmodels

Licence: GPL-3.0 license
A collection of Poisson lognormal models for multivariate count data analysis

Programming Languages

r
7636 projects
C++
36643 projects - #6 most used programming language
TeX
3793 projects

Projects that are alternatives of or similar to PLNmodels

MRFcov
Markov random fields with covariates
Stars: ✭ 21 (-52.27%)
Mutual labels:  r-package, multivariate-analysis
SpatPCA
R Package: Regularized Principal Component Analysis for Spatial Data
Stars: ✭ 16 (-63.64%)
Mutual labels:  pca, r-package
Plnmodels
A collection of Poisson lognormal models for multivariate count data analysis
Stars: ✭ 31 (-29.55%)
Mutual labels:  pca, r-package
Miscellaneous R Code
Code that might be useful to others for learning/demonstration purposes, specifically along the lines of modeling and various algorithms. Now almost entirely superseded by the models-by-example repo.
Stars: ✭ 146 (+231.82%)
Mutual labels:  pca
Ares
A Python library for adversarial machine learning focusing on benchmarking adversarial robustness.
Stars: ✭ 166 (+277.27%)
Mutual labels:  pca
100DaysOfMLCode
No description or website provided.
Stars: ✭ 19 (-56.82%)
Mutual labels:  pca
crminer
⛔ ARCHIVED ⛔ Fetch 'Scholary' Full Text from 'Crossref'
Stars: ✭ 17 (-61.36%)
Mutual labels:  r-package
Svm Classification Localization
HoG, PCA, PSO, Hard Negative Mining, Sliding Window, Edge Boxes, NMS
Stars: ✭ 130 (+195.45%)
Mutual labels:  pca
combining3Dmorphablemodels
Project Page of Combining 3D Morphable Models: A Large scale Face-and-Head Model - [CVPR 2019]
Stars: ✭ 80 (+81.82%)
Mutual labels:  pca
xmca
Maximum Covariance Analysis in Python
Stars: ✭ 41 (-6.82%)
Mutual labels:  pca
faiss-ruby
Efficient similarity search and clustering for Ruby
Stars: ✭ 62 (+40.91%)
Mutual labels:  pca
Parameters
📊 Computation and processing of models' parameters
Stars: ✭ 181 (+311.36%)
Mutual labels:  pca
deepvis
machine learning algorithms in Swift
Stars: ✭ 54 (+22.73%)
Mutual labels:  pca
Ml Course
Starter code of Prof. Andrew Ng's machine learning MOOC in R statistical language
Stars: ✭ 154 (+250%)
Mutual labels:  pca
DoReMIFaSol
Téléchargement des données sur le site de l'Insee
Stars: ✭ 25 (-43.18%)
Mutual labels:  r-package
Machine Learning In R
Workshop (6 hours): preprocessing, cross-validation, lasso, decision trees, random forest, xgboost, superlearner ensembles
Stars: ✭ 144 (+227.27%)
Mutual labels:  pca
bioc 2020 tidytranscriptomics
Workshop on tidytranscriptomics: Performing tidy transcriptomics analyses with tidybulk, tidyverse and tidyheatmap
Stars: ✭ 25 (-43.18%)
Mutual labels:  pca
findr
Fast Inference of Networks from Directed Regulations
Stars: ✭ 19 (-56.82%)
Mutual labels:  network-inference
Facerecognition
Implement face recognition using PCA, LDA and LPP
Stars: ✭ 206 (+368.18%)
Mutual labels:  pca
Fun-with-MNIST
Playing with MNIST. Machine Learning. Generative Models.
Stars: ✭ 23 (-47.73%)
Mutual labels:  pca

PLNmodels: Poisson lognormal models

R build status Coverage status CRAN_Status_Badge Lifecycle: stable

The Poisson lognormal model and variants can be used for a variety of multivariate problems when count data are at play (including PCA, LDA and network inference for count data). This package implements efficient algorithms to fit such models accompanied with a set of functions for visualization and diagnostic. See this deck of slides for a comprehensive introduction.

Installation

PLNmodels is available on CRAN. The development version is available on Github.

R Package installation

Installing PLNmodels

  • For the last stable version, use the CRAN version
install.packages("PLNmodels")
  • For the development version, use the github install
remotes::install_github("pln-team/PLNmodels")
  • For a specific tagged release, use
remotes::install_github("pln-team/PLNmodels@tag_number")

Usage and main fitting functions

The package comes with an ecological data set to present the functionality

library(PLNmodels)
data(trichoptera)
trichoptera <- prepare_data(trichoptera$Abundance, trichoptera$Covariate)

The main fitting functions work with the usual R formula notations, with mutivariate responses on the left hand side. You probably want to start by one of them. Check the corresponding vignette and documentation page. There is a dedicated vignettes for each model in the package (See https://pln-team.github.io/PLNmodels/articles/).

Unpenalized Poisson lognormal model (aka PLN)

myPLN <- PLN(Abundance ~ 1, data = trichoptera)

Rank Constrained Poisson lognormal for Poisson Principal Component Analysis (aka PLNPCA)

myPCA <- PLNPCA(Abundance ~ 1, data = trichoptera, ranks = 1:8)

Poisson lognormal discriminant analysis (aka PLNLDA)

myLDA <- PLNLDA(Abundance ~ 1, grouping = Group, data = trichoptera)

Sparse Poisson lognormal model for sparse covariance inference for counts (aka PLNnetwork)

myPLNnetwork <- PLNnetwork(Abundance ~ 1, data = trichoptera)

Mixture of Poisson lognormal models for model-based clustering of counts (aka PLNmixture)

myPLNmixture <- PLNmixture(Abundance ~ 1, data = trichoptera)

References

Please cite our work using the following references:

  • J. Chiquet, M. Mariadassou and S. Robin: The Poisson-lognormal model as a versatile framework for the joint analysis of species abundances, Frontiers in Ecology and Evolution, 2021. link

  • J. Chiquet, M. Mariadassou and S. Robin: Variational inference for sparse network reconstruction from count data, Proceedings of the 36th International Conference on Machine Learning (ICML), 2019. link

  • J. Chiquet, M. Mariadassou and S. Robin: Variational inference for probabilistic Poisson PCA, the Annals of Applied Statistics, 12: 2674–2698, 2018. link

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].