Skip to content

RudiSchill/MHN

Repository files navigation

MHN

Basic implementation of Mutual Hazard Networks.

Usage

source("UtilityFunctions.R")
source("ModelConstruction.R")
source("Likelihood.R")
source("RegularizedOptimization.R")

Data <- readRDS(file="data/BreastCancer.rds") 

#Learn an MHN from data with sparsity hyperparameter lambda
Theta <- MHN(Data, lambda=0.01)

#Generate a synthetic dataset from an MHN
SyntheticData <- SampleMHN(Theta, size=1000)

Issues

Mac users may get an error when compiling the C code and should install Xcode Command Line Tools via xcode-select --install.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages