neural-network

pre-training a neural-network

Hi. I've set up an ANN with back-propagation as a book recommendation system. I only have one hidden layer in the network, and both the input and the output layers are books, since you should be able to enter a book and receive more book recommendations. I already have a lot of data about users and their ratings (1 to 5) for books. I...

simple Feed forward (newff) network in MATLAB

I used ffnew functions many times but when I am trying to create a simple feed forward network such that the input vector is P=[1;2;3;4] and the desired output is T=[1 ;0;0;1]. So i only have one sample input vector The code is net = newff(P,T,[4 1],{'tansig','tansig'}); net=train (net,P,T); When I write the last line I got: ??? Err...

fitting in neural network with MATLAB

I want to fit a function using neural networks, with 0/1 as outputs. please help me find the best way to it. In fact I want to know the fitting function in MATLAB, specifically in the neural network toolbox. I don't know which method is good for modeling a function with binary output. Also is there anyway in MATLAB that I can gain weig...

Neural networks, how do they look in coding?

Basically i know the concept of a neural network and what it is, but i can't figure out how it looks when you code it or how do you store the data, i went through many tutorials that i found on google but couldn't find any piece of code, just concepts and algorithms. Can anyone give me a piece of code of a simple neural network somethin...

Why do we use neural networks in computers?

Why do we use neural networks? It's biologic. Aren't there any more solutions that're more "suitable" for computers? In other words: Why do we use the human brain as a model for inspiration for artifical intelligence? ...

Segmenting a set of data with discrete and continuos data values into one of two groups without using analysis services?

Say I have a table with the following scheme (note: this example is hypothetical, though the real use case is similar). Type | Name | Notes ===================================================================================== Gender | Gender | Either Male or Female (not null) GeoCoord | Location | Lattitude an...

Estimating the number of neurons and number of layers of an artificial neural network

I am looking for a method on how to calculate the number of layers and the number of neurons per layer. As input i only have the size of the input vector, the size of the output vector and the size of the trainig set. Usually the best net is determined by trying different net topologies and selecting the one with the least error. Unfort...

Algorithm for matching 'noisy' names

I have an application which scrapes soccer results from different sources on the web. Team names are not consistent on different websites - eg Manchester United might be called 'Man Utd' on one site, 'Man United' on a second, 'Manchester United FC' on a third. I need to map all possible derivations back to a single name ('Manchester Unit...

neural network using matlab

I have a training set that has input and outupts in this way: Input: 0.832 64.643 0.818 78.843 1.776 45.049 0.597 88.302 1.412 63.458 1.468 49.535 1.985 33.387 2.073 30.279 1.431 55.231 1.116 68.521 1.617 44.362 2.159 66.512 Output: 0 0 1 0 0 1 0 1 0 0 0 1 0 0 1 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 0 0 1 0 0 1 0 I need...

matlab syntax errors in single layer neural network

I have to implement a single layer neural network or perceptron.For this, I have 2 files data sets , one for the input and one for the output.I have to do this in matlab without using neural toolbox.The format of 2 files is given below. In: 0.832 64.643 0.818 78.843 1.776 45.049 0.597 88.302 1.412 63.458 Out: 0 0...

MATLAB: single layer neural network

For the implementation of single layer neural network, I have two data files. In: 0.832 64.643 0.818 78.843 Out: 0 0 1 0 0 1 The above is the format of 2 data files. The target output is "1 for a particular class that the corresponding input belongs to and "0 for the remaining 2 outputs. The problem is as follows: Your ...

c++ matrix template library need for neural networks computations

hi i'm implementing some neural network algorithms and i'll be needing a matrix library, I've looked and found that there are ones like ( boost::ublas ) , (blitz++), TNT... I need experts opinion which one is suitable for (simple , easy coding, high performance maybe ) ...

Neural Network for multidimensional problem

Hi there, I'm wondering if it's possible for Neural Network to operate on matrices say I want to: A(i)=matrix(10,10) -> B(i)=matrix(10,10) input = vector of matrices, i = sample size output = vector of matrices Say I would like to guess an matrix operation transforming matrix into another matrix ie f(A(i,j))=2*A(i,j)*b Matlab do...

Order-issuing neural network?

Hello. I'm interested in writing certain software that uses machine learning, and performs certain actions based on external data. However I've run into problem (that was always interesting to me) - how is it possible to write machine learning software that issues orders or sequences of orders? The problem is that as I understand it...

Neural Network size for Animation system

I decided to go with a Neural Network in order to create behaviors for an animation engine that I have. The neural network takes in 3 vector3s and 1 Euler angle for every body part that I have. The first vector3 is the position, the second is its velocity, and the third is its angular velocity. The Euler angle is what rotation the body p...

application of AI/neural networks/machine learning in stock market trading: looking for a book(s)

Hello. I'm looking for a book(s) about practical application of machine learning, artificial intelligence and neural networks to stock market trading (automated trading or as an assistance to human, mostly automatic trading). I'm not afraid of "heavy reading". What I'm interested in: 0. How can the problem (how to achieve goal dependin...

difference between artificial neural network and Bayesian network

Hello, I am a student working on an internship project where in we are using Bayesian networks to predict a possible outcome from a given set of discrete parent variables.We now intend to use artificial neural network to do the task.So could any one please help me out with the similarities and differences between Bayesian networks ...

Matlab - Out Of Memory Error

I have a problem which occurs when I write the command line of the rbf (radial basis function) neural network net = newrb(T, D); I get the error **??? Error using ==> unknown Out of memory. Type HELP MEMORY for your options. Error in ==> dist>apply at 119 z = zeros(S,Q); Error in ==> boiler_weight at 38 result = apply(a,b,c); Err...

Neural Networks and Image Processing to Shoot Caterpillars w/ Lasers

I am somewhat of an amateur farmer and I have a precious cherry tomato plant growing in a pot. Lately, to my chagrin, I have discovered that my precious plant has been the victim of a scheme perpetrated by the evil Manduca Quinquemaculata - also known as the Tomato Hornworm (http://insects.tamu.edu/images/insects/common/images/cd-43-c-tx...

time series forecasting (eventually with python)

which algorithms exist for time series forecasting/regression ? what about using neural networks ? (best docs about this topic ?) are there python libraries/code snippets that can help ? ...