New forum topics
- Need help with LSTM libraries
- Memory usage in Java
- Delphi
- Stock Market Question
- Output priorities, retrieving input weights
- Local Minima Question
- Forest Cover Midterm and other Assignments in Java book and Youtube
- Forest Cover Midterm and other Assignments in Java book and Youtube
- using this course for robotics
- correlated assets in a single network





This is an area of the normalization classes that I plan to expand. But for now, some of the output fields provide a method named "covertBack", which is used something like this.
OutputFieldRangeMapped mpgField = (OutputFieldRangeMapped)((List)norm.getOutputFields()).get(0);
return mpgField.convertBack(output.getData(0));
This is from the MPG example.
Thanks, I wondered if I should use that but wasn't sure. Works great!!
I just wanted to verify that I'm doing this correctly - right now I'm normalizing my training input data separately from my training ideal data - is that correct or should I be normalizing both at the same time? Here's a code snippet of how I'm doing it currently.
double[][] input = ..... build training input data .....
double[][] ideal = ..... build training ideal data .....
input = normalizeData(input, false);
ideal = normalizeData(ideal, true);
Train train = new Backpropagation(network, new BasicNeuralDataSet(input, ideal, 0.0001, 0.1);
private double[][] normalizeData(double[][] data, boolean isIdeal) {
double[][] output = .... create output array ....
BasicNeuralDataSet bnds = new BasicNeuralDataSet(data, null);
NormalizationStorageArray2D target = new NormalizationStorageArray2D(output);
DataNormalization norm = new DataNormalization();
norm.setTarget(target);
InputField i1, i2;
norm.addInputField(i1 = new InputFieldNeuralDataSet(false, bnds, 0));
norm.addInputField(i2 = new InputFieldNeuralDataSet(false, bnds, 1));
norm.addOutputField(new OutputFieldRangeMapped(i1, 0, 1), isIdeal);
norm.addOutputField(new OutputFieldRangeMapped(i2, 0, 1), isIdeal);
norm.process();
return output;
}
I'm guessing this is the right way to do this but just wanted to double-check.
Thanks
Gary