#创建权重
weight={0:.9,1:0.1}
model.fit(class_weights=weights)
keras中加入class_weight参数(处理不均衡分类问题)
最新推荐文章于 2024-05-17 14:17:54 发布
#创建权重
weight={0:.9,1:0.1}
model.fit(class_weights=weights)