Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/datquocnguyen/LFTM
/ functions
Functions
151 in github.com/datquocnguyen/LFTM
⨍
Functions
151
◇
Types & classes
18
↓ 171 callers
Method
get
Gets the object in this wrapper for the current thread. @return the object; null, of not yet set for the current thread.
src/utility/Parallel.java:267
↓ 35 callers
Method
write
()
src/models/LFDMM.java:708
↓ 29 callers
Method
write
()
src/models/LFLDA.java:690
↓ 28 callers
Method
write
()
src/models/LFLDA_Inf.java:717
↓ 28 callers
Method
write
()
src/models/LFDMM_Inf.java:736
↓ 12 callers
Method
nextDiscrete
Sample a value from a double array @param probs @return
src/utility/FuncUtils.java:58
↓ 10 callers
Method
next
Returns an integer with <i>bits</i> bits filled with a random number.
src/utility/MersenneTwister.java:382
↓ 10 callers
Method
set
Sets the object in this wrapper for the current thread. @param object the object.
src/utility/Parallel.java:278
↓ 9 callers
Method
getValue
()
src/models/TopicVectorOptimizer.java:123
↓ 7 callers
Method
getParameters
(double[] buffer)
src/models/TopicVectorOptimizer.java:77
↓ 6 callers
Method
compute
Computes for the specified loop index. @param i loop index.
src/utility/Parallel.java:185
↓ 6 callers
Method
computePartitionFunction
(double[] elements1, double[] elements2)
src/models/TopicVectorOptimizer.java:142
↓ 5 callers
Method
getNumParameters
()
src/models/TopicVectorOptimizer.java:71
↓ 5 callers
Method
mean
(double[] m)
src/utility/FuncUtils.java:75
↓ 5 callers
Method
nextBoolean
This method is missing from jdk 1.0.x and below. JDK 1.1 includes this for us, but what the heck.
src/utility/MersenneTwister.java:437
↓ 4 callers
Method
loop
Performs a loop <code>for (int i=0; i<end; ++i)</code>. @param end the end index (not included) for the loop. @param body th
src/utility/Parallel.java:305
↓ 4 callers
Method
nextDouble
A bug fix for versions of JDK 1.1 and below. JDK 1.2 fixes this for us, but what the heck.
src/utility/MersenneTwister.java:520
↓ 4 callers
Method
nextInt
This method is missing from JDK 1.1 and below. JDK 1.2 includes this for us, but what the heck.
src/utility/MersenneTwister.java:481
↓ 4 callers
Method
optimize
()
src/utility/LBFGS.java:117
↓ 4 callers
Method
sortByValueDescending
(Map<K, V> map)
src/utility/FuncUtils.java:12
↓ 4 callers
Method
stddev
(double[] m)
src/utility/FuncUtils.java:83
↓ 3 callers
Method
argument
(boolean condition, String message)
src/utility/Parallel.java:514
↓ 3 callers
Method
combine
Returns the combination of two specified values. @param v1 a value. @param v2 a value. @return the combined value.
src/utility/Parallel.java:210
↓ 3 callers
Method
evaluate
(String pathGoldenLabelsFile, String pathToFolderOfDocTopicProsFiles, String suffix)
src/eval/ClusteringEval.java:179
↓ 3 callers
Method
getValueGradient
(double[] buffer)
src/models/TopicVectorOptimizer.java:103
↓ 3 callers
Method
push
Pushes a new object onto the queue l @param l linked list queue of Matrix obj's @param toadd matrix to push onto queue
src/utility/LBFGS.java:347
↓ 2 callers
Method
checkArgs
Checks loop arguments.
src/utility/Parallel.java:507
↓ 2 callers
Method
help
(CmdLineParser parser)
src/LFTM.java:92
↓ 2 callers
Method
inference
()
src/models/LFDMM.java:356
↓ 2 callers
Method
inference
()
src/models/LFLDA_Inf.java:377
↓ 2 callers
Method
inference
()
src/models/LFDMM_Inf.java:371
↓ 2 callers
Method
inference
()
src/models/LFLDA.java:363
↓ 2 callers
Method
initialize
()
src/models/LFDMM.java:280
↓ 2 callers
Method
initialize
()
src/models/LFLDA.java:283
↓ 2 callers
Method
middle
Splits range [begin:end) into [begin:middle) and [middle:end). The returned middle index equals begin plus an integer multiple of step.
src/utility/Parallel.java:524
↓ 2 callers
Method
nextBoolean
()
src/utility/MTRandom.java:23
↓ 2 callers
Method
nextFloat
A bug fix for versions of JDK 1.1 and below. JDK 1.2 fixes this for us, but what the heck.
src/utility/MersenneTwister.java:568
↓ 2 callers
Method
nextLong
This method is for completness' sake. Returns a long drawn uniformly from 0 to n-1. Suffice it to say, n must be > 0, or an IllegalArgumentException i
src/utility/MersenneTwister.java:503
↓ 2 callers
Method
setSeed
Initalize the pseudo random number generator. Don't pass in a long that's bigger than an int (Mersenne Twister only uses the first 32 bits for its see
src/utility/MersenneTwister.java:309
↓ 2 callers
Method
writeParameters
()
src/models/LFDMM.java:552
↓ 2 callers
Method
writeParameters
()
src/models/LFLDA.java:547
↓ 1 callers
Method
computeNMIscore
()
src/eval/ClusteringEval.java:145
↓ 1 callers
Method
computePurity
()
src/eval/ClusteringEval.java:125
↓ 1 callers
Method
initialize
()
src/models/LFLDA_Inf.java:345
↓ 1 callers
Method
initialize
()
src/models/LFDMM_Inf.java:341
↓ 1 callers
Method
initializeWordCount
(String pathToTrainingCorpus, String pathToTopicAssignmentFile)
src/models/LFLDA_Inf.java:234
↓ 1 callers
Method
initializeWordCount
(String pathToTrainingCorpus, String pathToTopicAssignmentFile)
src/models/LFDMM_Inf.java:231
↓ 1 callers
Method
nextByte
For completeness' sake, though it's not in java.util.Random.
src/utility/MersenneTwister.java:640
↓ 1 callers
Method
nextBytes
A bug fix for all versions of the JDK. The JDK appears to use all four bytes in an integer as independent byte values! Totally wrong. I've submitted a
src/utility/MersenneTwister.java:617
↓ 1 callers
Method
nextDouble
()
src/utility/MTRandom.java:13
↓ 1 callers
Method
nextGaussian
A bug fix for all JDK code including 1.2. nextGaussian can theoretically ask for the log of 0 and divide it by 0! See Java bug <a href="http://develop
src/utility/MersenneTwister.java:652
↓ 1 callers
Method
nextShort
For completeness' sake, though it's not in java.util.Random.
src/utility/MersenneTwister.java:633
↓ 1 callers
Method
optimizeTopicVectors
()
src/models/LFDMM.java:391
↓ 1 callers
Method
optimizeTopicVectors
()
src/models/LFLDA_Inf.java:414
↓ 1 callers
Method
optimizeTopicVectors
()
src/models/LFDMM_Inf.java:408
↓ 1 callers
Method
optimizeTopicVectors
()
src/models/LFLDA.java:398
↓ 1 callers
Method
parseTrainingParasFile
( String pathToTrainingParasFile)
src/models/LFLDA_Inf.java:211
↓ 1 callers
Method
parseTrainingParasFile
( String pathToTrainingParasFile)
src/models/LFDMM_Inf.java:208
↓ 1 callers
Method
readDocTopicProsFile
()
src/eval/ClusteringEval.java:76
↓ 1 callers
Method
readGoldenLabelsFile
()
src/eval/ClusteringEval.java:50
↓ 1 callers
Method
readWordVectorsFile
(String pathToWordVectorsFile)
src/models/LFDMM.java:239
↓ 1 callers
Method
readWordVectorsFile
(String pathToWordVectorsFile)
src/models/LFLDA_Inf.java:302
↓ 1 callers
Method
readWordVectorsFile
(String pathToWordVectorsFile)
src/models/LFDMM_Inf.java:298
↓ 1 callers
Method
readWordVectorsFile
(String pathToWordVectorsFile)
src/models/LFLDA.java:242
↓ 1 callers
Method
sampleSingleInitialIteration
()
src/models/LFDMM.java:496
↓ 1 callers
Method
sampleSingleInitialIteration
()
src/models/LFLDA_Inf.java:518
↓ 1 callers
Method
sampleSingleInitialIteration
()
src/models/LFDMM_Inf.java:518
↓ 1 callers
Method
sampleSingleInitialIteration
()
src/models/LFLDA.java:497
↓ 1 callers
Method
sampleSingleIteration
()
src/models/LFDMM.java:441
↓ 1 callers
Method
sampleSingleIteration
()
src/models/LFLDA_Inf.java:467
↓ 1 callers
Method
sampleSingleIteration
()
src/models/LFDMM_Inf.java:461
↓ 1 callers
Method
sampleSingleIteration
()
src/models/LFLDA.java:448
↓ 1 callers
Method
writeDocTopicPros
()
src/models/LFDMM.java:680
↓ 1 callers
Method
writeDocTopicPros
()
src/models/LFLDA_Inf.java:700
↓ 1 callers
Method
writeDocTopicPros
()
src/models/LFDMM_Inf.java:706
↓ 1 callers
Method
writeDocTopicPros
()
src/models/LFLDA.java:675
↓ 1 callers
Method
writeParameters
()
src/models/LFLDA_Inf.java:569
↓ 1 callers
Method
writeParameters
()
src/models/LFDMM_Inf.java:575
↓ 1 callers
Method
writeTopTopicalWords
()
src/models/LFDMM.java:629
↓ 1 callers
Method
writeTopTopicalWords
()
src/models/LFLDA_Inf.java:645
↓ 1 callers
Method
writeTopTopicalWords
()
src/models/LFDMM_Inf.java:651
↓ 1 callers
Method
writeTopTopicalWords
()
src/models/LFLDA.java:624
↓ 1 callers
Method
writeTopicAssignments
()
src/models/LFDMM.java:601
↓ 1 callers
Method
writeTopicAssignments
()
src/models/LFLDA_Inf.java:617
↓ 1 callers
Method
writeTopicAssignments
()
src/models/LFDMM_Inf.java:623
↓ 1 callers
Method
writeTopicAssignments
()
src/models/LFLDA.java:596
↓ 1 callers
Method
writeTopicWordPros
()
src/models/LFDMM.java:665
↓ 1 callers
Method
writeTopicWordPros
()
src/models/LFLDA_Inf.java:682
↓ 1 callers
Method
writeTopicWordPros
()
src/models/LFDMM_Inf.java:688
↓ 1 callers
Method
writeTopicWordPros
()
src/models/LFLDA.java:660
Method
ClusteringEval
(String inPathGoldenLabelsFile, String inPathDocTopicProsFile)
src/eval/ClusteringEval.java:37
Method
LBFGS
(Optimizable.ByGradientValue function, double inTolerance)
src/utility/LBFGS.java:56
Method
LFDMM
(String pathToCorpus, String pathToWordVectorsFile, int inNumTopics, double inAlpha, double inBeta
src/models/LFDMM.java:100
Method
LFDMM_Inf
(String pathToTrainingParasFile, String pathToUnseenCorpus, int inNumInitIterations, int inNumIterations, in
src/models/LFDMM_Inf.java:103
Method
LFLDA
(String pathToCorpus, String pathToWordVectorsFile, int inNumTopics, double inAlpha, double inBeta
src/models/LFLDA.java:102
Method
LFLDA_Inf
(String pathToTrainingParasFile, String pathToUnseenCorpus, int inNumInitIterations, int inNumIterations, in
src/models/LFLDA_Inf.java:105
Method
LoopIntAction
(int begin, int end, int step, int chunk, LoopInt body)
src/utility/Parallel.java:535
Method
MersenneTwister
Constructor using the default seed.
src/utility/MersenneTwister.java:278
Method
ReduceIntTask
(int begin, int end, int step, int chunk, ReduceInt<V> body)
src/utility/Parallel.java:578
Method
TopicVectorOptimizer
(double[] inTopicVector, int[] inWordCount, double[][] inWordVectors, double inL2Constant)
src/models/TopicVectorOptimizer.java:37
next →
1–100 of 151, ranked by callers