Skip to main content

Python wrapper for sparseSEM

Project description

Elastic Net for Structural Equation Models (SEM)

Anhui Huang | Ph.D. Electrical and Computer Engineering

https://scholar.google.com/citations?user=WhDMZEIAAAAJ&hl=en

PyPI installation

sparseSEM is available on PyPI: https://pypi.org/project/sparseSEM/1.0/. Run command pip install sparseSEM to install from PyPI.

test/ folder contains examples using data packed along with this package in data/ folder. To run test/ examples, clone this repo, and run from test/ directory.

Documentation

The theory and background for network topology inference using sparse Structural Equation Models (SEM) can be found in my Ph.D dissertation (Huang A. 2014). The experimental study are also available in the doc/ folder in the package.

Configuration

This package was originally developed to leverage high performance computer clusters to enable parallel computation through openMPI. Users who have access to large scale computational resources can explore the functionality and checkout the openMPI module in this package.

Current package utilizes blas/lapack for high speed computation. To build the C/C++ code, the intel OneMKL library is specified in the package setup.

R package

An R package with similiar implementation is also available at CRAN: https://cran.r-project.org/web/packages/sparseSEM/index.html

OpenMPI

C/C++ implementation of sparseSEM with openMPI for parallel computation is available in openMPI branch (https://github.com/anhuihng/pySparseSEM/tree/openMPI).

Reference

- Huang A. (2014) Sparse Model Learning for Inferring Genotype and Phenotype Associations. Ph.D Dissertation,
University of Miami, Coral Gables, FL, USA.
- Huang A. (2014) sparseSEM: Sparse-Aware Maximum Likelihood for Structural Equation Models. Rpackage
(https://cran.r-project.org/web/packages/sparseSEM/index.html)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sparseSEM-1.1.tar.gz (4.8 MB view hashes)

Uploaded Source

Built Distribution

sparseSEM-1.1-cp310-cp310-macosx_10_9_x86_64.whl (69.6 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page