Sha256: 02c7606aa7440e3f264f756ccd8a38aaf8cc41d4071a458156f59bb696273a5e
Contents?: true
Size: 456 Bytes
Versions: 2
Compression:
Stored size: 456 Bytes
Contents
#ifndef LDA_ALPHA_H #define LDA_ALPHA_H #include <stdlib.h> #include <math.h> #include <float.h> #include "lda.h" #include "utils.h" #define NEWTON_THRESH 1e-5 #define MAX_ALPHA_ITER 1000 double alhood(double a, double ss, int D, int K); double d_alhood(double a, double ss, int D, int K); double d2_alhood(double a, int D, int K); double opt_alpha(double ss, int D, int K); void maximize_alpha(double** gamma, lda_model* model, int num_docs); #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ealdent-lda-ruby-0.1.1 | lda-alpha.h |
ealdent-lda-ruby-0.1.2 | lda-alpha.h |