-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a539ba1
commit b415274
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|