public class MyKeyWord extends MatrixOperation
| 构造器和说明 |
|---|
MyKeyWord(SentenceConfig config,
WordEmbedding wordEmbedding) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
insertModel(ModelParameter modelParameter) |
boolean |
isKeyWord(String word,
long eventId) |
ModelParameter |
study(List<KeyWordForSentence> keyWordForSentenceList) |
add, adjointMatrix, algebraicCofactor, center, convolution, errorNub, getCrossEntropy, getEDist, getEDistByMatrix, getInverseMatrix, getKernelNub, getLinearRegression, getNorm, getNormCos, getPoolVector, getSdByMatrix, im2col, innerProduct, inverseNumber, ListToMatrix, listToRowVector, listToRowVector, mathAdd, mathDiv, mathMul, mathMulBySelf, mathSub, matrixMulPd, matrixPointDiv, matrixToList, matrixToVector, mulMatrix, push, pushVector, reverseIm2col, rowVectorToList, softMaxByMatrix, sub, transPositionpublic MyKeyWord(SentenceConfig config, WordEmbedding wordEmbedding) throws Exception
Exceptionpublic ModelParameter study(List<KeyWordForSentence> keyWordForSentenceList) throws Exception
Exceptionpublic void insertModel(ModelParameter modelParameter) throws Exception
ExceptionCopyright © 2024. All rights reserved.