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
2
votes
2 answers

serialize java encog network to database

I'm using the java encog library and wanted to know how to serialize the sample XOR network to a mysql database. I'm rather new to working with databases in java. I'm guessing it has to do with the EncogDirectoryPersist class but was wondering how…
user257543
  • 881
  • 1
  • 14
  • 35
2
votes
0 answers

How to use iteration method with SGD in Encog?

I am using stochastic gradient descent with Adam update to optimise a simple feed forward neural network in Encog (Java). Stochastic gradient descent class provides an iteration(count) method to perform a desired number of iterations. However, the…
2
votes
1 answer

TanH(x) somehow magically becomes bigger 1 and bigger 1 Million

After creating a following Neural Network: nn = new BasicNetwork(); nn.addLayer(new BasicLayer(null, true, 29)); nn.addLayer(new BasicLayer(new ActivationReLU(), true, 1000)); nn.addLayer(new BasicLayer(new ActivationReLU(), true,…
TVSuchty
  • 133
  • 6
2
votes
1 answer

c# Encog Framework, neural network, Why do I get an internal error when I train my network?

I´m following the instructions given in the book 'Use Encog c#' where I´ve had to redesign some of the code to fit my needs. I´m working with image Datasets, I load one 'category' into the network at a time, train it, save it and proceed with the…
2
votes
1 answer

Trained neural network outputs the same results for all evaluation rows

There seems to be no problem when training my network because it converges and falls below 0.01 error. However when I load my trained network, and introduce the evaluation set, it outputs the same results for all the evaluation set rows (the actual…
codex
  • 432
  • 2
  • 7
  • 18
2
votes
1 answer

Why does my trained neural network produce the same output

I have trained my neural network using encog 3.3 with MLP, resilientProp (trial since BackProp's learning rate and momentum is hard to set), 10 inputs (including the ideal value), 1 hidden layer with 7 neurons, 1 output neuron, sigmoid activation,…
codex
  • 432
  • 2
  • 7
  • 18
2
votes
1 answer

Encog Simulated Annealing Parameters

I have done some extensive research on SA (Simulated Annealing). Even so, I am having a hard time understanding how to find input parameters. In all of my research it seems you just start with a shot in the dark and adjust from there. That seems…
Kenny Barker
  • 75
  • 1
  • 5
2
votes
0 answers

Improving a neural network with limited data to provide better results in C# and Encog

I am working on a neural network project in which the data has non linear behavior which is implemented in C# and Encog. My main objective is to predict the values. I have some data(which is limited ) say like some 300 data sets. In these data set i…
tech47
  • 21
  • 5
2
votes
2 answers

Encog C#, VersatileMLDataSet from CSV, how to get original data?

I want to use CSV reader from Encog library, like this: var format = new CSVFormat('.', ' '); IVersatileDataSource source = new CSVDataSource(filename, false, format); var data = new VersatileMLDataSet(source); Is it possible to get…
EdWood
  • 875
  • 3
  • 19
  • 37
2
votes
1 answer

Starting with encog framework workbench

I am new to neural network and I am having problem with starting Encog workbench. I have read the quick start guide but it could not help me.I am trying to use Encog work-bench and every time I try to run the executable jar file I am getting the…
rozi
  • 71
  • 10
2
votes
0 answers

Can't convert the Java Encog 3.3 XOR NEAT example to use use HyperNEAT

I am trying to convert the Encog XOR using NEAT example to use HyperNEAT instead. I have spent many hours trying to figure out how to do it and reading a lot of Encog documentation and about NEAT and HyperNEAT in general but I can't figure out how…
Tmr
  • 268
  • 1
  • 7
2
votes
1 answer

Encog - Error saving network weights, Not a valid EG file

I've got a network trained and I want to save it and be able to load it later so I don't have to re-train it... duh. End of training code: //Save network SerializeObject.save(new File("encognet"),network); Encog.getInstance().shutdown(); Loading…
jonbon
  • 1,142
  • 3
  • 12
  • 37
2
votes
0 answers

How to properly make multiple predictions into the future using Encog?

I'm having some problems with the output of my neural network. I'm using Encog 3.3 to predict a solar x-ray emission time series, having a single field for both input and output. I need do try and predict at least 30 minutes into the future, so my…
vspedr
  • 21
  • 1
  • 3
2
votes
2 answers

Encog Neural Net - How to structure training data?

Every example I've seen for Encog neural nets has involved XOR or something very simple. I have around 10,000 sentences and each word in the sentence has some type of tag. The input layer needs to take 2 inputs, the previous word and the current…
2
votes
1 answer

Feedforward network using backpropagation in Encog

I am using this classification example by jeff heaton: https://github.com/encog/encog-java-examples/blob/master/src/main/java/org/encog/examples/guide/classification/IrisClassification.java I am trying to find out what kind of learning algorithm and…