View source: R/functions_tuning.R
tune_lambda_helper | R Documentation |
helper function for tune_lambda()
tune_lambda_helper(
i,
docs,
docName,
index_name,
n_cluster,
labelsName,
initSize,
initIndex,
lambda,
maxQuery,
whichOutTest,
maxActive,
seed,
verbose = TRUE
)
i |
Iteration number. |
docs |
Dataframe for courpus. |
docName |
String; name of variable for document text. |
index_name |
String; name of variable for corpus index. |
n_cluster |
Int; number of clusters. |
labelsName |
String; name of variable for document labels. |
initSize |
Int; number of docs to initialize model with. |
initIndex |
vec; Value to initialize model with. |
lambda |
float; lambda value for weighting. |
maxQuery |
int; max number of documents ot query per iteration. |
whichOutTest |
vec; Index values to use for out-of-sample validation. |
seed |
int; Seed value for randomization. |
verbose |
logical; Denotes whether model progress is printed. |
Statistics summary for active_EM() iteration.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.