首页> 外国专利> LOSS FUNCTION OPTIMIZATION METHOD AND APPARATUS, COMPUTER DEVICE, AND STORAGE MEDIUM

LOSS FUNCTION OPTIMIZATION METHOD AND APPARATUS, COMPUTER DEVICE, AND STORAGE MEDIUM

机译:损耗函数优化方法和装置,计算机设备和存储介质

摘要

Disclosed in the present application are a loss function optimization method and apparatus, a computer device, and a storage medium. The method comprises: if initial samples are initial unbalanced samples, obtaining a positive sample ratio and a negative sample ratio in the initial unbalanced samples; obtaining a prediction model obtained by corresponding training according to the initial unbalanced samples, and obtaining a predicted value corresponding to each sample according to the prediction model; obtaining a value interval satisfied by the predicted value and a true value of each sample in the initial unbalanced samples, and according to the value interval satisfied by the predicted value and the true value of each sample and a preset adjustment value setting strategy, obtaining a loss function adjustment value corresponding to each sample in the initial unbalanced samples; and multiplying the loss function adjustment value corresponding to each sample in the initial unbalanced samples by a cross entropy of the corresponding sample, and summing to obtain a loss function corresponding to the prediction model.
机译:本申请公开了一种损失函数优化方法和装置,计算机设备和存储介质。该方法包括:如果初始样本是初始不平衡样本,则在初始不平衡样本中获得正样本比率和负样本比率;以及根据所述初始不平衡样本获取通过相应训练得到的预测模型,并根据所述预测模型获取与每个样本对应的预测值;获取初始不平衡样本中各个样本的预测值和真实值所满足的值区间,并根据各个样本的预测值和真实值所满足的值区间以及预设的调整值设置策略,获得初始不平衡样本中每个样本对应的损失函数调整值;将初始不平衡样本中每个样本对应的损失函数调整值乘以对应样本的互熵,求和得到与预测模型对应的损失函数。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号