View source: R/model.R View source: R/main_model.R
funcslustVI | R Documentation |
Generates cluster assignments and related information given functional data.
funcslustVI( x, Y, K, true_cluster_assignments, init, nbasis, convergence_threshold, max_iterations, gamma_dist_config_matrix, verbose, draw, plot_params )
x |
The dependent variable |
Y |
A matrix in which the rows represent the curves |
K |
The number of clusters in the data |
true_cluster_assignments |
The true cluster assignments |
init |
The initialization method for the algorithim |
nbasis |
The number of basis functions |
convergence_threshold |
The threshold that determines when the model has converged |
max_iterations |
The maximum amount of iterations for the algorithim |
gamma_dist_config_matrix |
A matrix where the rows are the alpha and parameters for each cluster |
verbose |
A boolean indicating whether or not to print the inner parameters of the model |
draw |
Parameter that determines whether or not to plot the real vs estimated curves after fitting the model |
plot_params |
List of parameters corresponding to characteristics of the plot. Must include vectors xlim and ylim corresponding to the x and y limits of the plot. |
A list with entries containing varius information about the fitted model
fit(x, Y, K, true_cluster_assignments, init, nbasis, convergence_threshold, gamma_dist_config_matrix, verbose, draw, plot_params)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.