BiPolarNeuralData(double []) constructor

securelinprog's picture

When I wrote this code:

BasicNetwork network;
BiPolarNeuralData biPolarOutTest = new BiPolarNeuralData(netwrok.compute(biPolarInTest).getData());

I get this error:

can't find symbol : constructor BiPolarNeuralData(double[])

Why? Does in Encog not implement this constructor?

jeffheaton's picture

I can see where it would be handy though. I will probably add it soon. The way to do that would be to take the NeuralData object returned by compute, then create a new BiPolarNeuralData, loop over the neural data object and set each of the values for the bipolar.


Copyright 2005 - 2012 by Heaton Research, Inc.. Heaton Research™ and Encog™ are trademarks of Heaton Research. Click here for copyright, license and trademark information.