Agenda
- Artificial Intelligence
- Genetic Algorithms
- Neural Networks
- Evolutionary Programs
- Critique
Decades of AI
- The Study and Design of Intelligent Agents
- Reasoning
- Knowledge
- Planning
- Natural Language
- Learning
Tools
- Logic Programming
- Knowledge Representation
- Expert Systems
- Neural Networks
- Genetic Algorithms
- ...
War Games
Tree Search
Backgammon
Generic Structure
## Creating and Running Populations
```js
for (var k = 0; k < 1000; k++)
genotypes.push(Path.createGenotype(/* ... */));
var mutators = [];
for (var k = 0; k < 4; k++)
mutators.push(Path.createMutator());
engine = new simplega.Engine({ minimize: true });
engine.setPopulation(genotypes);
engine.setMutators(mutators);
//
var newgenotypes = engine.nextPopulation();
best = simplega.getBestGenotype(newgenotypes, { minimize: true });
```
Artificial Neuron
Many Layers
## Creating and Training a Network
```js
var network = sn.network([6, 10, 3]);
var outputs = network.outputs([0, 0, 1, 1, 0, 0]);
console.dir(outputs);
for (var k = 0; k < 20; k++) {
network.train([0, 0, 1, 1, 0, 0], [0, 1, 0], 0.1);
// ....
}
```
Intelligent Agent
The End
BY Angel 'Java' Lopez / @ajlopez