artificial-intelligence

How do you get Python to write down the code of a function it has in memory?

When I pass the options in the program (a computational biology experiment) I usually pass them through a .py file. So I have this .py file that reads like: starting_length=9 starting_cell_size=1000 LengthofExperiments=5000000 Then I execute the file and get the data. Since the program is all on my machine and no one else has access t...

Good beginners material on Prolog

I am looking for good beginners material on Prolog, both online and printed. I am not only interested in 'learning the language' but also in background and scientific information. ...

Measuring the performance of classification algorithm

I've got a classification problem in my hand, which I'd like to address with a machine learning algorithm ( Bayes, or Markovian probably, the question is independent on the classifier to be used). Given a number of training instances, I'm looking for a way to measure the performance of an implemented classificator, with taking data overf...

Correct formulation of the A* algorithm

Hello, I'm looking at definitions of the A* path-finding algorithm, and it seems to be defined somewhat differently in different places. The difference is in the action performed when going through the successors of a node, and finding that a successor is on the closed list. One approach (suggested by Wikipedia, and this article) say...

Why do safety requirements like to discourage use of AI?

Seems that requirements on safety do not seem to like systems that use AI for safety-related requirements (particularly where large potential risks of desctruction/death are involved). Can anyone suggest why? I always thought that, provided you program your logic properly, the more intelligence you put in an algorithm, the more likely th...

Interested in Collective Programming for the web -- Ruby or Python or PHP?

For something like a personal recommendation system, machine learning type of stuff on a website, what language would be best? ...

What A.I.-driven features would you like to see in an IDE?

We already have things like static analysis that tells us what's wrong with our code and where, so should we be endowing our IDEs with more AI features and, if so, which ones? I'm looking for ideas! ...

AI Game Opinion (kind of homework related)

I have taken an AI course, and the teacher asked us to implement a game that makes use of one of the AI algorithms. Here is where I need a bit of help: I don't know to what kind of games each algorithm is applied if you could just give an example of a game or game type and the algorithm it uses, I would appreciate it I don't need an...

Alternatives to the Turing Test

So we learned a bit about the Turing Test in my AI class. This got me thinking about it. I can see a few limitations with it: It's limited to a certain context. What if I'm not designing an AI to converse with humans? It favors acting humanly over acting rationally. For example, if I'm designing an AI to control nuclear missiles, d...

How should I start designing an AI algorithm for an artillery warfare game?

Here's the background... in my free time I'm designing an artillery warfare game called Staker (inspired by the old BASIC games Tank Wars and Scorched Earth) and I'm programming it in MATLAB. Your first thought might be "Why MATLAB? There are plenty of other languages/software packages that are better for game design." And you would be r...

What is your idea for a good AI project for a group of undergraduates?

There are two courses: "AI" and "AI in Games" both 15 students for 15 weeks. I want to keep them motivated and creative. I know I want some kind of competition (obvious for the latter course). Maybe something like Marathon Match or ICFP. I will need good visualization, so it would be great if it already exist. One idea was to write AI f...

Building a Texas Hold'em playing AI..from scratch.

I'm interested in building a Texas Hold 'Em AI engine in Java. This is a long term project, one in which I plan to invest at least two years. I'm still at college, haven't build anything ambitious yet and wanting to tackle a problem that will hold my interest in the long term. I'm new to the field of AI. From my data structures class at ...

Java Rule Engine for Game AI

I would like to use a rule engine for my game. It will be used for NPC AI, and GM AI. What might be a good and fast Rule Engine for this purpose ? It must be Java and Open Source. I would like to hear from people who have used Java Rule Engines for Artificial Intelligence about their experience. ...

Activation function when training a single layer perceptron

When training a multi-layer neural network, using a sigmoidal activation function is necessary for it to learn efficiently. Is there any advantage to using a sigmoidal activation function when training a single layer perceptron, or is a simple step (heaviside) function sufficient (or even preferable)? I'm slowly getting my head around...

Most significant present-day AI developments?

What do you consider the most significant progress / breakthroughs in real world applications of present-day AI research? (including, but not limited to: machine learning, statistical data processing, and other disciplines spinned off from AI). Please spare / do not want: ramblings about AI winters / disappointment; Do want: links, an...

Any good card game AI strategies?

What would be strategies for writing a good computer opponent for a card game? Most card games are games of incomplete information, so simply mapping out and traversing the game tree as one could do with a board game does not seem too promising. Maybe one could track what open cards are in the game (as soon as they are revealed) and as...

How Do I Run Sutton and Barton's "Reinforcement Learning" Lisp Code?

I have been reading a lot about Reinforcement Learning lately, and I have found "Reinforcement Learning: An Introduction" to be an excellent guide. The author's helpfully provice source code for a lot of their worked examples. Before I begin the question I should point out that my practical knowledge of lisp is minimal. I know the basic...

How to create real-life robots?

Even before I learnt programming I've been fascinated with how robots could work. Now I know how the underlying programming instructions would be written, but what I don't understand is how those intructions are followed by the robot. For example, if I wrote this code: object=Robot.ScanSurroundings(300,400); if (Objects.isEatable(objec...

Are games the most complex / impressive applications?

I was thinking today about what could be the most complex / impressive application ever written. So I started thinking of what I am comfortable with and use everyday, databases. Then I went into the field of the unknown (to most of us I guess), the government. I can only imagine the complexity of NASAs applications that allow them to co...

Can a perceptron be used to detect hand-written digits?

Let's say I have a small bitmap which contains a single digit (0..9) in hand writing. Is it possible to detect the digit using a (two-layered) perceptron? Are there other possibilities to detect single digits from bitmaps besides using neural nets? ...