类 Nerve
java.lang.Object
org.wlld.rnnJumpNerveEntity.Nerve
- 直接已知子类:
HiddenNerve,OutNerve,SensoryNerve,SoftMax
- 作者:
- lidapeng 神经元,所有类别神经元都要继承的类,具有公用属性 @date 9:36 上午 2019/12/21
-
字段概要
字段修饰符和类型字段说明protected ActiveFunctionprotected intprotected booleanprotected intprotected doubleprotected doubleprotected Stringprotected Matrixprotected doubleprotected doubleprotected intprotected doubleprotected double -
构造器概要
构造器限定符构造器说明protectedNerve(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 voidbackMatrix(Matrix g) protected doublecalculation(long eventId) protected voidclearData(long eventId) voidvoidconnectFather(int depth, List<Nerve> nerveList) voidconnectOut(List<Nerve> nerveList) protected Matrixprotected voiddestroyParameter(long eventId) intgetDepth()intgetId()doubleprotected voidinput(long eventId, double parameter, boolean isStudy, Map<Integer, Double> E, OutBack imageBack, Matrix rnnMatrix, int[] storeys, int index, int questionLength) protected voidinputMatrix(long eventId, Matrix matrix, boolean isKernelStudy, int E, OutBack outBack) protected booleaninsertParameter(long eventId, double parameter) protected voidsendAppointSoftMax(long eventId, double parameter, Matrix rnnMatrix, OutBack outBack, String myWord) protected voidsendAppointTestMessage(long eventId, double parameter, Matrix featureMatrix, OutBack outBack, String myWord) protected voidsendMatrix(long eventId, Matrix parameter, boolean isStudy, int E, OutBack outBack) protected voidsendMessage(long eventId, double parameter, boolean isStudy, Map<Integer, Double> E, OutBack outBack, Matrix rnnMatrix, int[] storeys, int index, int questionLength) protected voidsendMyTestMessage(long eventId, Matrix featureMatrix, OutBack outBack, String word) protected voidsendRnnTestMessage(long eventId, double parameter, Matrix featureMatrix, OutBack outBack, String myWord) protected voidsendSoftMax(long eventId, double parameter, boolean isStudy, Map<Integer, Double> E, OutBack outBack, Matrix rnnMatrix, int[] storeys, int index) protected voidsendSoftMaxBack(long eventId, double parameter, Matrix rnnMatrix, OutBack outBack, String myWord) protected voidsendTestMessage(long eventId, double parameter, Matrix featureMatrix, OutBack outBack, String myWord) voidsetDendrites(Map<Integer, Double> dendrites) voidsetNerveMatrix(Matrix nerveMatrix) protected voidsetStudyPoint(double studyPoint) voidsetThreshold(double threshold) protected voidupdatePower(long eventId, int[] storeys, int index)
-
字段详细资料
-
dendrites
-
wg
-
features
-
nerveMatrix
-
threshold
protected double threshold -
name
-
outNub
protected double outNub -
E
protected double E -
gradient
protected double gradient -
studyPoint
protected double studyPoint -
sigmaW
protected double sigmaW -
activeFunction
-
depth
protected int depth -
allDepth
protected int allDepth -
creator
protected boolean creator -
startDepth
protected int startDepth
-
-
构造器详细资料
-
Nerve
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 - 抛出:
Exception
-
-
方法详细资料
-
getDepth
public int getDepth() -
getDendrites
-
getNerveMatrix
-
setNerveMatrix
-
setDendrites
-
getThreshold
public double getThreshold() -
setThreshold
public void setThreshold(double threshold) -
setStudyPoint
protected void setStudyPoint(double studyPoint) -
sendSoftMaxBack
-
sendSoftMax
-
clearData
protected void clearData(long eventId) -
sendMyTestMessage
-
sendAppointSoftMax
-
sendAppointTestMessage
-
sendTestMessage
-
sendRnnTestMessage
-
sendMessage
-
conv
-
sendMatrix
-
input
-
inputMatrix
-
backMatrix
-
updatePower
-
insertParameter
-
destroyParameter
protected void destroyParameter(long eventId) -
calculation
protected double calculation(long eventId) -
getId
public int getId() -
connect
-
connectOut
-
connectFather
-