Questions tagged [encog]

Encog is an advanced neural network and machine learning framework.

Encog is an advanced neural network and machine learning framework. Encog contains classes to create a wide variety of networks, as well as support classes to normalize and process data for these neural networks. Encog trains using multithreaded resilient propagation. Encog can also make use of a GPU to further speed processing time. A GUI based workbench is also provided to help model and train neural networks. Encog has been in active development since 2008.

Encog is available for Java, .Net and C/C++.

243 questions
4
votes
1 answer

Encog load CSV file with customized network

I want to load data from CSV file like this: var format = new CSVFormat('.', ' '); IVersatileDataSource source = new CSVDataSource(filename, false, format); var data = new VersatileMLDataSet(source); ... Then I have two options: Use EncogModel var…
EdWood
  • 875
  • 3
  • 19
  • 37
4
votes
1 answer

Encog - Training a neural network with Cross-validation methods and validating the training

I would like to stop training a network once I see the error calculated from the validation set starts to increase. I'm using a BasicNetwork with RPROP as the training algorithm, and I have the following training iteration: void…
4
votes
3 answers

Performance Encog vs Deeplearning4J

We are working on a project in Java using neural networks. We want to test different network structures on our datasets. Now we evaluate which of the Java Neural Networks is the best in terms of performance. We are evaluating Encog, Neuroph and…
jvh
  • 341
  • 3
  • 15
4
votes
1 answer

How To Evaluate Predictive Neural Network in Encog

We're a creating a neural network for predicting typhoon occurrence using several typhoon parameters as input. So far, we have been able to generate data and train the neural network using Encog 3.2. Right now, we need to evaluate the results of the…
Pem Reyes
  • 41
  • 3
4
votes
0 answers

How to customize the error Function in Encog for Java

I have been using Encog for a while to create a neural network. I think that the default Error Rate (degree to which the output of the neural network differs from the expected output) doesn't suit my approach. Therefore, I would like to override…
manelmc
  • 937
  • 2
  • 7
  • 17
4
votes
1 answer

Adding a bias neuron to Encog network

I am porting some C code involving an artificial neural network to Java. I have decided to use the Encog framework. I would like my network to have a bias neuron (which uses weighted synapses and always outputs 1.0) connected to hidden layers and…
Martin Wiboe
  • 2,119
  • 2
  • 28
  • 50
4
votes
1 answer

Neural Network Array Pattern Recognition using Encog -- How to test a next pattern?

I am using Encog library to solve a pattern recognition problem by following the basic example provied by Mr. Jeff Heaton. I have the pattern 1 3 5 4 3 5 4 3 1 which is my ideal pattern with output 1 (which would mean it is 100% the same) Now I…
mkdavor
  • 135
  • 4
  • 16
4
votes
2 answers

Save encog network c#

I have an issue about how to save neural netwok in encog library c#. I want to serialize weights of hidden layer and data from input and output layers. Also it is necessary to save somewhere structure of the network, if i want deserialize it…
4
votes
1 answer

Encog Framework Non-Numeric Example, Text Classification

The examples I've seen for Encog Framework describe how to classify numeric data to textual data. For instance, the following is the data used for the classic Iris…
user1477388
  • 20,790
  • 32
  • 144
  • 264
4
votes
2 answers

Encog Neural Net : Normalization

In Encog 3.x, how do you normalize data, use it for training, and denormalize results? There is no good documentation on this and a simple example that applies each of these would go a long way in reducing the learning curve on Encog. I haven't…
Josh T
  • 564
  • 3
  • 12
4
votes
1 answer

Encog normalization with one-of

I have a question about normalization of my dataset. We are working on a school assignment, where we have to make sense of a dataset and classify new examples. We have a few dataset available, which are compressed forms of the original. We tried to…
palaga
  • 153
  • 3
  • 6
4
votes
1 answer

Encog: BasicNetwork: Online learning without preconstructed dataset

I am trying to use the encog library as a function approximator for a reinforcement learning problem. To be more precise, I am trying to get a multi layer perceptron (BasicNetwork) up and running. Since my agent will somehow explore the world based…
pdresselhaus
  • 679
  • 14
  • 32
3
votes
1 answer

How to use the Java Encog with GA training method to solve XOR?

My output is very bad. Actual is not equal ideal. Which codes are wrong? My output: Epoch #129 Error:8.755514431853456E-6 Neural Network Results: 0.0,0.0, actual=0.57600,ideal=0.0 1.0,0.0, actual=0.58016,ideal=1.0 0.0,1.0,…
icashwave
  • 51
  • 4
3
votes
3 answers

Neural-network (with Jeff Heaton's Encog) to mimic computer memory

I want to mimic computer memory with jeff heaton's encog neural network library. I just don't know what approach to use. My requirement is to, have a memory location and a collection of bytes for the values. location…
Berlin Brown
  • 11,504
  • 37
  • 135
  • 203
3
votes
1 answer

Encog Neural network validation/Testing

I have implemented a neural network using encog library as below, MLDataSet trainingSet = new BasicMLDataSet(XOR_INPUT, XOR_IDEAL); final Propagation train = new Backpropagation(network, trainingSet); int epoch = 1; do { …
1
2
3
16 17