public abstract class Nerve extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected ActiveFunction |
activeFunction |
protected int |
allDepth |
protected boolean |
creator |
protected Map<Integer,Double> |
dendrites |
protected int |
depth |
protected double |
E |
protected Map<Long,List<Double>> |
features |
protected double |
gradient |
protected String |
name |
protected Matrix |
nerveMatrix |
protected double |
outNub |
protected double |
sigmaW |
protected int |
startDepth |
protected double |
studyPoint |
protected double |
threshold |
protected Map<Integer,Double> |
wg |
| 限定符 | 构造器和说明 |
|---|---|
protected |
Nerve(int id,
String name,
double studyPoint,
boolean init,
ActiveFunction activeFunction,
boolean isDynamic,
int rzType,
double lParam,
int step,
int kernLen,
int sensoryNerveNub,
int hiddenNerveNub,
int outNerveNub,
int allDepth,
boolean creator,
int startDepth) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
backMatrix(Matrix g) |
protected double |
calculation(long eventId) |
protected void |
clearData(long eventId) |
void |
connect(int depth,
List<Nerve> nerveList) |
void |
connectFather(int depth,
List<Nerve> nerveList) |
void |
connectOut(List<Nerve> nerveList) |
protected Matrix |
conv(Matrix matrix) |
protected void |
destroyParameter(long eventId) |
Map<Integer,Double> |
getDendrites() |
int |
getDepth() |
int |
getId() |
Matrix |
getNerveMatrix() |
double |
getThreshold() |
protected void |
input(long eventId,
double parameter,
boolean isStudy,
Map<Integer,Double> E,
OutBack imageBack,
Matrix rnnMatrix,
int[] storeys,
int index,
int questionLength) |
protected void |
inputMatrix(long eventId,
Matrix matrix,
boolean isKernelStudy,
int E,
OutBack outBack) |
protected boolean |
insertParameter(long eventId,
double parameter) |
protected void |
sendAppointSoftMax(long eventId,
double parameter,
Matrix rnnMatrix,
OutBack outBack,
String myWord) |
protected void |
sendAppointTestMessage(long eventId,
double parameter,
Matrix featureMatrix,
OutBack outBack,
String myWord) |
protected void |
sendMatrix(long eventId,
Matrix parameter,
boolean isStudy,
int E,
OutBack outBack) |
protected void |
sendMessage(long eventId,
double parameter,
boolean isStudy,
Map<Integer,Double> E,
OutBack outBack,
Matrix rnnMatrix,
int[] storeys,
int index,
int questionLength) |
protected void |
sendMyTestMessage(long eventId,
Matrix featureMatrix,
OutBack outBack,
String word) |
protected void |
sendRnnTestMessage(long eventId,
double parameter,
Matrix featureMatrix,
OutBack outBack,
String myWord) |
protected void |
sendSoftMax(long eventId,
double parameter,
boolean isStudy,
Map<Integer,Double> E,
OutBack outBack,
Matrix rnnMatrix,
int[] storeys,
int index) |
protected void |
sendSoftMaxBack(long eventId,
double parameter,
Matrix rnnMatrix,
OutBack outBack,
String myWord) |
protected void |
sendTestMessage(long eventId,
double parameter,
Matrix featureMatrix,
OutBack outBack,
String myWord) |
void |
setDendrites(Map<Integer,Double> dendrites) |
void |
setNerveMatrix(Matrix nerveMatrix) |
protected void |
setStudyPoint(double studyPoint) |
void |
setThreshold(double threshold) |
protected void |
updatePower(long eventId,
int[] storeys,
int index) |
protected Matrix nerveMatrix
protected double threshold
protected String name
protected double outNub
protected double E
protected double gradient
protected double studyPoint
protected double sigmaW
protected ActiveFunction activeFunction
protected int depth
protected int allDepth
protected boolean creator
protected int startDepth
protected Nerve(int id,
String name,
double studyPoint,
boolean init,
ActiveFunction activeFunction,
boolean isDynamic,
int rzType,
double lParam,
int step,
int kernLen,
int sensoryNerveNub,
int hiddenNerveNub,
int outNerveNub,
int allDepth,
boolean creator,
int startDepth)
throws Exception
Exceptionpublic int getDepth()
public Matrix getNerveMatrix()
public void setNerveMatrix(Matrix nerveMatrix)
public double getThreshold()
public void setThreshold(double threshold)
protected void setStudyPoint(double studyPoint)
protected void sendSoftMaxBack(long eventId,
double parameter,
Matrix rnnMatrix,
OutBack outBack,
String myWord)
throws Exception
Exceptionprotected void sendSoftMax(long eventId,
double parameter,
boolean isStudy,
Map<Integer,Double> E,
OutBack outBack,
Matrix rnnMatrix,
int[] storeys,
int index)
throws Exception
Exceptionprotected void clearData(long eventId)
protected void sendMyTestMessage(long eventId,
Matrix featureMatrix,
OutBack outBack,
String word)
throws Exception
Exceptionprotected void sendAppointSoftMax(long eventId,
double parameter,
Matrix rnnMatrix,
OutBack outBack,
String myWord)
throws Exception
Exceptionprotected void sendAppointTestMessage(long eventId,
double parameter,
Matrix featureMatrix,
OutBack outBack,
String myWord)
throws Exception
Exceptionprotected void sendTestMessage(long eventId,
double parameter,
Matrix featureMatrix,
OutBack outBack,
String myWord)
throws Exception
Exceptionprotected void sendRnnTestMessage(long eventId,
double parameter,
Matrix featureMatrix,
OutBack outBack,
String myWord)
throws Exception
Exceptionprotected void sendMessage(long eventId,
double parameter,
boolean isStudy,
Map<Integer,Double> E,
OutBack outBack,
Matrix rnnMatrix,
int[] storeys,
int index,
int questionLength)
throws Exception
Exceptionprotected void sendMatrix(long eventId,
Matrix parameter,
boolean isStudy,
int E,
OutBack outBack)
throws Exception
Exceptionprotected void input(long eventId,
double parameter,
boolean isStudy,
Map<Integer,Double> E,
OutBack imageBack,
Matrix rnnMatrix,
int[] storeys,
int index,
int questionLength)
throws Exception
Exceptionprotected void inputMatrix(long eventId,
Matrix matrix,
boolean isKernelStudy,
int E,
OutBack outBack)
throws Exception
Exceptionprotected void updatePower(long eventId,
int[] storeys,
int index)
throws Exception
Exceptionprotected boolean insertParameter(long eventId,
double parameter)
throws Exception
Exceptionprotected void destroyParameter(long eventId)
protected double calculation(long eventId)
public int getId()
Copyright © 2024. All rights reserved.