Examples of MatrixBigDecimal


Examples of eas.math.matrix.bigDecimal.MatrixBigDecimal

    }
   
    public NeuralNetwork(NeuralNetwork other) {
        this.activationFunctions = new HashMap<Integer, ActivationFunction>(other.activationFunctions);
        if (other.inverseWeightMatrix != null) {
            this.inverseWeightMatrix = new MatrixBigDecimal(other.inverseWeightMatrix);
        }
        this.neuronVector = new MatrixBigDecimal(other.neuronVector);
        this.pars = other.pars;
        this.standardActFct = other.standardActFct;
        this.weightMatrix = new MatrixBigDecimal(other.weightMatrix);
    }
View Full Code Here

Examples of eas.math.matrix.bigDecimal.MatrixBigDecimal

        this.weightMatrix = new MatrixBigDecimal(other.weightMatrix);
    }
   
    public NeuralNetwork(final ParCollection params, int neuronsCount) {
        this.pars = params;
        this.neuronVector = new MatrixBigDecimal(1, neuronsCount);
        this.weightMatrix = new MatrixBigDecimal(neuronsCount, neuronsCount);
        this.activationFunctions = new HashMap<>();
        this.inverseWeightMatrix = null;
        this.standardActFct = new ActivationFunctionSQRT();
       
        this.setAllNeuronValues(BigDecimal.ZERO);
View Full Code Here

Examples of eas.math.matrix.bigDecimal.MatrixBigDecimal

        this.genomeLength = other.genomeLength;
        this.justACounter = other.justACounter;
        this.maxNumOfNeuronsController = other.maxNumOfNeuronsController;
        this.maxNumOfNeuronsTranslator = other.maxNumOfNeuronsTranslator;
        if (other.neuronInitialVectorForTranslation != null) {
            this.neuronInitialVectorForTranslation = new MatrixBigDecimal(other.neuronInitialVectorForTranslation);
        }
        this.neuronVector = new MatrixBigDecimal(other.neuronVector);
        this.randomSeedForFixedRandom = other.randomSeedForFixedRandom;
        this.translatedTranslatorSequence = new LinkedList<BigDecimal>(other.translatedTranslatorSequence);
    }
View Full Code Here

Examples of eas.math.matrix.bigDecimal.MatrixBigDecimal

     * @return  The translation.
     */
    public NeuroTranslator translateGenomeToTranslator(List<BigDecimal> sequence, boolean normalize) {
//        System.out.println();
        if (this.neuronInitialVectorForTranslation != null) {
            this.neuronVector = new MatrixBigDecimal(this.neuronInitialVectorForTranslation);
        }
        this.translatedTranslatorSequence = new LinkedList<>();
        Random fixedRandom = new Random(this.randomSeedForFixedRandom);
        NeuroTranslator transNeu = new NeuroTranslator(
                this.getPars(),
View Full Code Here

Examples of eas.math.matrix.bigDecimal.MatrixBigDecimal

            this.setNeuronValue(NeuroTranslator.OUTPUT_NEURON_ID, value);
            this.propagateReverse(false);
            genomeInput.add(this.getNeuronValue(INPUT_NEURON_ID));
        }
       
        this.neuronInitialVectorForTranslation = new MatrixBigDecimal(this.getNeuronVector());
       
        Collections.reverse(genomeInput);
       
        return genomeInput;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.