evox.metrics.hv

模块内容

函数

hv

蒙特卡罗超体积计算使用边界立方体方法。

API

evox.metrics.hv.hv(objs: torch.Tensor, ref: torch.Tensor, num_sample: int = 100000)[源代码]

蒙特卡罗超体积计算使用边界立方体方法。

参数:
  • objs -- 目标点的形状为 (n_points, n_objs)。

  • ref -- 形状为 (n_objs, ) 的参考点。

  • num_sample -- 蒙特卡罗样本数量。

返回:

估计的超体积