Skip to content

Commit 6eccba0

Browse files
authored
docs: update nlp TypeScript declarations
PR-URL: #12747 Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
1 parent de39564 commit 6eccba0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/node_modules/@stdlib/nlp/docs/types/index.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ interface Namespace {
7474
* @param documents - document corpus
7575
* @param K - number of topics
7676
* @param options - options object
77-
* @param options.alpha - Dirichlet hyper-parameter of topic vector theta
78-
* @param options.beta - Dirichlet hyper-parameter for word vector phi
77+
* @param options.alpha - Dirichlet hyper-parameter of topic vector theta (default: 50/K)
78+
* @param options.beta - Dirichlet hyper-parameter for word vector phi (default: 0.1)
79+
* @throws first argument must be an array of strings
7980
* @throws second argument must be a positive integer
8081
* @throws must provide valid options
8182
* @returns model object

0 commit comments

Comments
 (0)