'population energies' 是什么?

What are 'population energies'?

scipy.optimize.differential_evolution中,收敛准则是:

the solving stops when
np.std(population_energies) <= 
atol + tol * np.abs(np.mean(population_energies))

where atol and tol are the 
absolute and relative tolerance respectively.

这就引出了一个问题,请问'population energies'是什么?

这可能是以下问题的后续问题:

我试着查看代码,但我得到了:

self.population_energies = np.ones(popsize * parameter_count) * np.inf
self.population_energies[index] = self.func(parameters,*self.args)

那么后续问题是请问它有什么作用?

正如您在评论中所写,它实际上只是对每个人口向量的函数评估。能量这个词很可能来自术语“能量最小化”。这个术语在机器学习中非常流行,基本上是指将标量能量(兼容性的度量)映射到每个变量的配置的任何函数最小化。您可以在 stats.stackexchange.

上阅读更多相关信息