public class NeuralNetwork
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
_activation |
double[] |
_inputs |
int |
_inSize |
int |
_maxK |
double[] |
_outputs |
int |
_outSize |
DeeplearningMojoModel.StoreWeightsBias |
_weightsAndBias |
Constructor and Description |
---|
NeuralNetwork(java.lang.String activation,
double drop_out_ratio,
DeeplearningMojoModel.StoreWeightsBias weightsAndBias,
double[] inputs,
int outSize) |
Modifier and Type | Method and Description |
---|---|
ActivationUtils.ActivationFunctions |
createActFuns(java.lang.String activation) |
double[] |
formNNInputs() |
double[] |
formNNInputsMaxOut() |
double[] |
fprop1Layer() |
void |
validateInputs(java.lang.String activation,
double drop_out_ratio,
int weightLen,
int biasLen,
int inSize,
int outSize) |
public java.lang.String _activation
public DeeplearningMojoModel.StoreWeightsBias _weightsAndBias
public double[] _inputs
public double[] _outputs
public int _outSize
public int _inSize
public int _maxK
public NeuralNetwork(java.lang.String activation, double drop_out_ratio, DeeplearningMojoModel.StoreWeightsBias weightsAndBias, double[] inputs, int outSize)
public double[] fprop1Layer()
public double[] formNNInputs()
public double[] formNNInputsMaxOut()
public void validateInputs(java.lang.String activation, double drop_out_ratio, int weightLen, int biasLen, int inSize, int outSize)
public ActivationUtils.ActivationFunctions createActFuns(java.lang.String activation)