artificial-intelligence

What are good examples of genetic algorithms/genetic programming solutions? [closed]

为君一笑 提交于 2019-11-27 02:20:17
Genetic algorithms (GA) and genetic programming (GP) are interesting areas of research. I'd like to know about specific problems you have solved using GA/GP and what libraries/frameworks you used if you didn't roll your own. Questions: What problems have you used GA/GP to solve? What libraries/frameworks did you use? I'm looking for first-hand experiences, so please do not answer unless you have that. Not homework. My first job as a professional programmer (1995) was writing a genetic-algorithm based automated trading system for S&P500 futures. The application was written in Visual Basic 3 [!]

What is the best Battleship AI?

佐手、 提交于 2019-11-27 02:19:57
Battleship! Back in 2003 (when I was 17), I competed in a Battleship AI coding competition. Even though I lost that tournament, I had a lot of fun and learned a lot from it. Now, I would like to resurrect this competition, in the search of the best battleship AI. Here is the framework, now hosted on Bitbucket . The winner will be awarded +450 reputation! The competition will be held starting on the 17th of November, 2009 . No entries or edits later than zero-hour on the 17th will be accepted. (Central Standard Time) Submit your entries early, so you don't miss your opportunity! To keep this

Einsteins Riddle Prolog

别等时光非礼了梦想. 提交于 2019-11-27 02:14:20
I need some help with a prolog homework for my AI class. The question is to write prolog code for einstein's puzzle. I know how to write it down in my own but there are some constraints in the homework. there are 5 houses the Englishman lives in the red house the Spaniard owns the dog coffee is drunk in the green house the Ukrainian drinks tea the green house is immediately to the right of the ivory house the Old Gold smoker owns snails Kools are smoked in the yellow house milk is drunk in the middle house the Norwegian lives in the first house the man who smokes Chesterelds lives in the house

Is there any self-improving compiler around?

假装没事ソ 提交于 2019-11-27 02:12:45
问题 I am not aware of any self-improving compiler, but then again I am not much of a compiler-guy. Is there ANY self-improving compiler out there? Please note that I am talking about a compiler that improves itself - not a compiler that improves the code it compiles . Any pointers appreciated! Side-note : in case you're wondering why I am asking have a look at this post. Even if I agree with most of the arguments I am not too sure about the following: We have programs that can improve their code

2d trilateration

孤街浪徒 提交于 2019-11-27 01:42:49
问题 I am writing some code to participate in an AI challenge. The main objective for the AI challenge is to take a simulated robot and navigate it through a maze to a destination zone. The secondary objective which is optional is to find a recharger placed in the maze at an unknown location. This is all done in a 2D grid. My program can call a method to get a distance measurement from the recharger. So using trilateration I should be able to locate the recharger by calling this method, recording

Consistent and Admissible Heuristics

笑着哭i 提交于 2019-11-27 01:36:30
问题 Any consistent heuristic is also admissible. But when is a heuristic admissible but not consistent (monotone)? Please provide an example in which this is the case. 回答1: As Russel and Norvig point out in Artificial Intelligence: A Modern Approach (the most commonly used AI textbook) it is challenging to come up with a heuristic that is admissible but not consistent. Obviously, you can select values for nodes in a graph such that the heuristic they represent is admissible but not consistent.

support vector machines in matlab

筅森魡賤 提交于 2019-11-27 01:04:58
Could you give an example of classification of 4 classes using Support Vector Machines (SVM) in matlab something like: atribute_1 atribute_2 atribute_3 atribute_4 class 1 2 3 4 0 1 2 3 5 0 0 2 6 4 1 0 3 3 8 1 7 2 6 4 2 9 1 7 10 3 MATLAB does not support multiclass SVM at the moment. You could use svmtrain (2-classes) to achieve this, but it would be much easier to use a standard SVM package. I have used LIBSVM and can confirm that it's very easy to use. %%# Your data D = [ 1 2 3 4 0 1 2 3 5 0 0 2 6 4 1 0 3 3 8 1 7 2 6 4 2 9 1 7 10 3]; %%# For clarity Attributes = D(:,1:4); Classes = D(:,5);

How to recognize rectangles in this image?

僤鯓⒐⒋嵵緔 提交于 2019-11-27 00:31:15
I have a image with horizontal and vertical lines. In fact, this image is the BBC website converted to horizontal and vertical lines. My problem is that I want to be able to find all the rectangles in the image. I want to write a computer program to find all the rectangles. Does anyone know how to do this or suggest ideas on how to get started? This task is easy for me as a person to find the visual rectangles, but I am not sure how to describe it as a program. Image is the BBC website here http://www.bbc.co.uk/ Update to this, I wrote the code which converts the BBC website image to the

How to choose number of hidden layers and nodes in neural network? [closed]

泪湿孤枕 提交于 2019-11-27 00:07:28
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . What does number of hidden layers in a multilayer perceptron neural network do to the way neural network behaves? Same question for number of nodes in hidden layers? Let's say I want to use a neural network for hand written character recognition. In this case I put pixel colour

Unsupervised clustering with unknown number of clusters

*爱你&永不变心* 提交于 2019-11-26 23:32:57
I have a large set of vectors in 3 dimensions. I need to cluster these based on Euclidean distance such that all the vectors in any particular cluster have a Euclidean distance between each other less than a threshold "T". I do not know how many clusters exist. At the end, there may be individual vectors existing that are not part of any cluster because its euclidean distance is not less than "T" with any of the vectors in the space. What existing algorithms / approach should be used here? You can use hierarchical clustering . It is a rather basic approach, so there are lots of implementations