Forward Chaining vs Backward Chaining

Backward chaining (a la Prolog) is more like finding what initial conditions form a path to your goal. At a very basic level it is a backward search from your goal to find conditions that will fulfil it. Backward chaining is used for interrogative applications (finding items that fulfil certain criteria) – one commercial example … Read more

Are games the most complex / impressive applications? [closed]

Short answer: No. Long answer: Games actually aren’t all that complicated. It depends on what you’re talking about when you say “games” but the two contenders for most complex games would be 3D games and online games (particularly massively online games). The complication in 3D games comes from taking a model of a world and … Read more

How are neural networks used when the number of inputs could be variable?

I have been there, and I faced this problem. The ANN was made for fixed feature vector length, and so are many other classifiers such as KNN, SVM, Bayesian, etc. i.e. the input layer should be well defined and not varied, this is a design problem. However, some researchers opt for adding zeros to fill … Read more

What is the difference between Q-learning and SARSA?

When I was learning this part, I found it very confusing too, so I put together the two pseudo-codes from R.Sutton and A.G.Barto hoping to make the difference clearer. Blue boxes highlight the part where the two algorithms actually differ. Numbers highlight the more detailed difference to be explained later. TL;NR: | | SARSA | … Read more

When should I use genetic algorithms as opposed to neural networks? [closed]

From wikipedia: A genetic algorithm (GA) is a search technique used in computing to find exact or approximate solutions to optimization and search problems. and: Neural networks are non-linear statistical data modeling tools. They can be used to model complex relationships between inputs and outputs or to find patterns in data. If you have a … Read more

What’s is the difference between train, validation and test set, in neural networks?

The training and validation sets are used during training. for each epoch for each training data instance propagate error through the network adjust the weights calculate the accuracy over training data for each validation data instance calculate the accuracy over the validation data if the threshold validation accuracy is met exit training else continue training … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)