Questions tagged [encog]

Encog is an advanced neural network and machine learning framework.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Encog Image Recognition, Invalid command Error

I am trying to run image recognition code in Encog framework. This one But I am having problems with the input. I am getting the following error I am trying to get the picture into the program. I did ...
KonTiki's user avatar
  • 13
2 votes
0 answers
87 views

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 ...
Ilaria Gallo's user avatar
0 votes
1 answer
465 views

Basic deeplearning4j classification example

I need a very basic classification or similar example for deeplearning4j framework. I have the classic training set in form of pairs of already normalized double arrays [0.01, 0.45, 0.0, ....] -> [0....
Sogawa-sps's user avatar
1 vote
1 answer
48 views

In Encog framework, can FinishTraining() method be called repeatedly before saving it to disk?

Consider the senario when a neural-network is being trained on a large data set over a long period of time. Is it correct to call FinishTraining() method before temporarily saving the neural-network ...
Martin's user avatar
  • 3,396
0 votes
1 answer
38 views

Error processing data of an array of different widths by neural network

I have an error in transmitting the "Input" array to the neural network for learning. I need to teach a neural network an array in which there is a different number of columns in some lines. I assign ...
user avatar
-1 votes
1 answer
93 views

Encog output have values less that 0

I try to train the network to classify texts. At the entrance I submit a vector only from 0 and 1. Everything works well :) Noticed that Compute returns a vector of negative values like {0.56, -0.09, -...
millworm's user avatar
1 vote
0 answers
93 views

Trained SVM only ever outputs 1.0 as a result despite 0.0 training error

I am trying to classify a dataset! In this dataset the first column is the ideal outcome and the other 20 columns are the inputs. The problem that arises here for me is that the SVM trained on the ...
ulanBator's user avatar
1 vote
1 answer
70 views

Is it possible to create a Recurrent Neural Network with EncogModel?

EncogModel is extremely useful thanks to its use of VersatileMLDataSet and the ability to perform cross validation. However I can't see a way to create an Elman, Jordan or other RNN. Is this possible ...
Matt's user avatar
  • 2,073
2 votes
1 answer
108 views

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....
TVSuchty's user avatar
  • 133
2 votes
1 answer
188 views

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 ...
Tanya Dørr Holst's user avatar
2 votes
1 answer
3k views

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 ...
codex's user avatar
  • 432
2 votes
1 answer
539 views

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 ...
codex's user avatar
  • 432
0 votes
1 answer
439 views

Recurrent Neural Network Text Generator

I'm very new to neural networks, and I'm trying to make an Elman RNN which generates text. I'm using Encog in Java. No matter what I feed the network, it takes a very long time to train, and it always ...
Freelix2000's user avatar
0 votes
0 answers
87 views

Encog java large training data

I'm playing with Encog java for building a regression model on a very large training dataset. The dataset I'll be having on my production is close to 70 million records per day. I understand that ...
user1189332's user avatar
  • 1,783
1 vote
0 answers
124 views

How to calculate the "training dataset error" in Encog Machine Learning Framework

I am using CalculateGradients() (source) on a test dataset (30% of my data). See code below. The goal is to get the error on the testingDataSet, using the parameters calculated by trainingDataSet (70%...
Xavier Peña's user avatar
  • 7,409
1 vote
0 answers
92 views

How to predict two values ahead of a time series using Encog?

How to predict two values ahead of a time series using Encog? To predict two values ahead with NN (Encog). is correct create outpute layer with 2 neurons? BasicNetwork network = new BasicNetwork(); ...
Albert Josuá's user avatar
1 vote
0 answers
173 views

Difficulty to normalize CSV archive in encog in JAVA

I'm trying to normalize this file to use in neural network training, it's in comma-separated CSV format and was created using Excel. To normalize the file, I'm trying to use this code File ...
Junior Muniz's user avatar
1 vote
0 answers
25 views

Apply a train-completed model to a new project Encog

I trained my AI and get the final model in Encog. and I know that by using NorminalizationHelper , i could get the normalization data. like in the example from "Encog quick start" below : [ ...
Truong quoc hiep's user avatar
2 votes
1 answer
106 views

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 ...
Kenny Barker's user avatar
1 vote
0 answers
60 views

Training a pre-made network

I'm currently working with Encog and was trying to load a network and then start training it. I looked up the examples and want to do something like was shown in the lunar landing example. This is ...
Anthony Robertson's user avatar
3 votes
1 answer
139 views

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....
icashwave's user avatar
0 votes
1 answer
58 views

encogmodel selectmethod configuration

Could someone point me to examples on how to configure the encogmodel with selectmethod? This is an overloaded method with the first one providing just taking inputs as dataset and method. The second ...
emeralddove's user avatar
4 votes
1 answer
185 views

OpenCL backend in Java Encog 3

The encog-core-java master branch no longer has a Encog.getInstance().getCL() method, or explicit access to the OpenCL devices (c.f. LeadTune's encog-java example: BenchmarkCL based on Encog 2). ...
Inon's user avatar
  • 2,116
0 votes
1 answer
44 views

Encong: Is it possible a field just informative?

Is it possible add to my train/eval csvs a field not input nor output, just informative? Just like additional information to each line
Alfonso_MA's user avatar
0 votes
1 answer
195 views

Encog: How do I compute without ideal data?

Here is an example of my code just to explain my question. (My code is not the XOR example and it has much more data): public static double XOR_INPUT[][] = { { 0.0, 0.0 }, { 1.0, 0.0 }, { 0.0, 1.0 }, ...
Alfonso_MA's user avatar
0 votes
1 answer
64 views

NullReferenceException when trying to load Encog network from EG file

I'm trying to load Encog created network in C# code: private void buttonImportNetwork_Click(object sender, EventArgs e) { NeuralNetworkEffect.Network = (BasicNetwork) ...
Jimmyjoe's user avatar
0 votes
1 answer
268 views

Recurrent Self Organizing Maps in Encog for Unsupervised Clustering with Context

Machine Learning - what a hoot! I have a little project with which I would like to identify anomalies in unlabeled data. Thus, unsupervised clustering. However, the sequence of the data is also ...
Duanne's user avatar
  • 744
0 votes
1 answer
53 views

NullPointer Exception on initialization of BasicMLDataSet with Input and Ideal Double 2d Arrays

I am currently working on a CNN that can tell the difference between a dog and a cat. This is the code I have worked out so far: public bool trained = false; public BasicNetwork network; public ...
FritzFurtz's user avatar
0 votes
0 answers
161 views

exception error in parse csv file in encog3 java

i am trying to train neural network by encog3 java library ,i use backpropogation algorithm and my dataset is KDD Cup 1999 dataset 10 percently ( provide a completed source for implementing and ...
Shaymaa AL Shahma's user avatar
1 vote
0 answers
32 views

NullPointerException on MLDataSet. Partitioning of training and testing set on ENCOG

I am new to ENCOG. We are developing a neural network and I have a problem on my generateTrainingData(). It gets a NullPointerException. Do you have any idea how to fix this? I think I have issue in ...
wolfy's user avatar
  • 21
1 vote
0 answers
137 views

Encog uses customized model for feedforward neural network

I am trying to set a number of layers, neurons and activation functions to my Encog Model. Following this post, I tried to implement the MLMethodFactory. EncogModel model = new EncogModel(data); ...
Cml's user avatar
  • 13
1 vote
1 answer
133 views

Export C# Encog Neuronal Network to C++

I have used the Encog C# framework to create a neural network. The neural network is fully trained. So I would like to use the neural network in my main application to solve a subproblem. Is there a ...
Bowers's user avatar
  • 836
1 vote
1 answer
114 views

Encog regression with line output weight reliability. ( for error ponderation )

I'm experimenting some tests with Encog and the AutoMPGRegression example : https://github.com/encog/encog-java-examples/blob/master/src/main/java/org/encog/examples/guide/regression/...
trix's user avatar
  • 11
0 votes
1 answer
186 views

Identifying driving events from GPS and accelerometer data

I have an IOT device sending the following information every second from a car that is being driven: Timestamp GPS co-ordinates (latitude/longitude) GPS bearing or Azimuth Vehicle speed from GPS ...
Praveen Prabha Ravindran's user avatar
1 vote
0 answers
225 views

predicted values shifted with large datasets - neural network

I have a dataset with attributes a,b,c. I use an input window size of 7 for each attribute to predict the next value of a. I did an autocorrelation and cross correlation between the attributes for ...
user7085565's user avatar
0 votes
1 answer
168 views

Encog Backpropagation Error not changing

The total error for the network did not change on over 100,000 iterations. The input is 22 values and the output is a single value. the input array is [195][22] and the output array is [195][1]. ...
AZstudentCS's user avatar
0 votes
2 answers
498 views

Encog Time Series Prediction just stick at the top and not improveing

I use encog for java to do a time series prediction, but it does not seem to work at all. I am pretty new to this and i dont know whats wrong. The red line is the training data (~3600 data entrys) ...
Ben's user avatar
  • 199
0 votes
1 answer
121 views

encog -difference between train.getError() and network.calculateError(dataset)

I have used both functions when training a network and both give approximately same values for each epoch. They are not exactly the same. I used network.calculateError(trainingdata). What is the ...
user7085565's user avatar
2 votes
0 answers
211 views

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 ...
tech47's user avatar
  • 21
0 votes
1 answer
148 views

Encog C# PNN does it even works?

I try PPN network in Encog: PNNOutputMode mode = PNNOutputMode.Regression; BasicPNN network = new BasicPNN(PNNKernelType.Gaussian, mode, 10, 1); TrainBasicPNN train = new TrainBasicPNN(network, ...
EdWood's user avatar
  • 875
1 vote
0 answers
333 views

encog - prediction with multiple input types

I am using encog for predicting time series data just like the sunspot example. My dataset has 3 columns x,y,z and I want to predict next value of x,y,z with an input window size of 3. That is, I want ...
user7085565's user avatar
1 vote
1 answer
87 views

Importing Encog3.3 library to Eclipse via Maven

Trying to work with the Encog3.3 library for machine learning but couldn't import it to Eclipse. The Quickstart Guide says: You might also be able to instruct your IDE to pull the Encog JAR from ...
Giu_ai's user avatar
  • 183
1 vote
1 answer
152 views

Encog RBF C#, Total number of RBF neurons must be some integer to the power of 'dimensions'

I get constantly error Total number of RBF neurons must be some integer to the power of 'dimensions' with using method SetRBFCentersAndWidthsEqualSpacing in C#. Can someone who is familiar with RBF ...
EdWood's user avatar
  • 875
0 votes
1 answer
241 views

encog RBF training

I am learning how to work with encog library for java. I am trying to create RBF Network for aproximating function. I am using SVDTraining method but network error is not decreasing. It stays on the ...
Shade68's user avatar
5 votes
2 answers
548 views

Q-learning using neural networks

I'm trying to implement the Deep q-learning algorithm for a pong game. I've already implemented Q-learning using a table as Q-function. It works very well and learns how to beat the naive AI within ...
SilverTear's user avatar
0 votes
1 answer
207 views

Encog-c compile errors using vs2015 community

I've downloaded the encog-c souce from http://www.heatonresearch.com/encog/ and trying to compile them as instructed using vs2015 community. When I build the solution I get the following errors: ...
Andrew's user avatar
  • 638
4 votes
1 answer
443 views

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);...
EdWood's user avatar
  • 875
2 votes
2 answers
446 views

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 ...
EdWood's user avatar
  • 875
11 votes
1 answer
927 views

Encog C# RBF network, how to start?

I went through whole documantation and didnt find how to set RBF network. I found some RBF example in ConsoleExmpales/Examples/Radial, but it looks like it doesnt work anymore, beceause some methods ...
EdWood's user avatar
  • 875
3 votes
1 answer
587 views

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, ...
jee1tha's user avatar
  • 33

1
2 3 4 5