Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DorisAmoakohene authored Oct 22, 2023
1 parent a539ba1 commit b415274
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# R-package-CS599
CS599GMM.DA is a comprehensive package designed for my class in CS599.The package will provide a range of functions for the Guassian Mixture Models(GMM) and other related tasks.
This will aid users in performing various operations such as fitting GMM models and estimating model parameters.


To install my GMM Package
remotes::install_github("DorisAmoakohene/R-package-CS599")

Usage:
library(gmm)

generate data
gmm_model
print results

Generate some random dataset
set.seed(123)
data <- rbind(
mvtnorm::rmvnorm(100, mean = c(0, 0), sigma = matrix(c(1, 0.5, 0.5, 1), nrow = 2)),
mvtnorm::rmvnorm(100, mean = c(3, 3), sigma = matrix(c(1, -0.5, -0.5, 1), nrow = 2))

# Fit the GMM using your function
#'result <- GMM(data, K = 2)
#'# Print the result
#'print(result)

0 comments on commit b415274

Please sign in to comment.