首页> 外国专利> METHOD AND APPARATUS FOR TRAINING A CLASSIFICATION NEURAL NETWORK, TEXT CLASSIFICATION METHOD AND APPARATUSES, AND DEVICE

METHOD AND APPARATUS FOR TRAINING A CLASSIFICATION NEURAL NETWORK, TEXT CLASSIFICATION METHOD AND APPARATUSES, AND DEVICE

机译:用于训练分类神经网络的方法和装置,文本分类方法和装置和设备

摘要

Provided are a method and apparatuses for training a classification neural network, a text classification method and apparatus and an electronic device. The method includes: acquiring a regression result of sample text data, which is determined based on a pre-constructed first target neural network and represents a classification trend of the sample text data; inputting the sample text data and the regression result to a second target neural network; obtaining a predicted classification result of each piece of sample text data based on the second target neural network; adjusting a parameter of the second target neural network according to a difference between the predicted classification result and a true value of a corresponding category; and obtaining a trained second target neural network after a change of network loss meets a convergence condition. The second target neural network is trained better, and accuracy of subsequent text data classification is improved.
机译:提供了一种用于训练分类神经网络的方法和装置,文本分类方法和装置和电子设备。 该方法包括:获取示例文本数据的回归结果,该数据基于预构造的第一目标神经网络确定,并表示示例文本数据的分类趋势; 将样本文本数据和回归结果输入到第二个目标神经网络; 基于第二个目标神经网络获得基于第二个目标神经网络的每条示例文本数据的预测分类结果; 根据预测的分类结果与相应类别的真实值之间的差异调整第二目标神经网络的参数; 在网络损耗变化符合收敛条件后获得训练的第二个目标神经网络。 第二个目标神经网络训练更好,提高了后续文本数据分类的准确性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号