Add array average function
generic-github-user opened this issue · comments
Anna Allen commented
Needed for network fitness evaluation.
Anna Allen commented
const average = function (array) {
return sum(array) / array.length;
}
General-purpose AI library with NEAT-style genetic algorithm.
generic-github-user opened this issue · comments
Needed for network fitness evaluation.
const average = function (array) {
return sum(array) / array.length;
}