Here is a functional, tail-recursive implementation of a simple Particle Swarm Optimiser PSO routines are ideal for tuning the numerical variables of a given function so long as some means can be given for quantifying proximity to the desired solution. Returns a function that accelerates X towards P proportional to their distance*S and moves X […]
Artificial Intelligence
Code
Old Projects
Python
Python Particle Swarm OptimiserParticle Swarm Optimisers are ideal for fine-tuning the numerical variables of a given process/function/structure so long as you can define a way to measure how well it has performed.
0