ArmRoundMan

博客园 首页 新随笔 联系 订阅 管理

2024年8月22日 #

摘要: 一、损失(Loss)类型: L1损失【Re】:对模型对各个样本的预测的绝对误差求和。 平均绝对误差 (MAE)【Re】:一组样本L1损失的平均值。 L2 损失:【Re】对模型【Re】对各个样本的预测的误差的平方求和。 均方误差【Re】:一组样本的L2 损失的平均值。 如果数据中特征值超过了一定范围, 阅读全文
posted @ 2024-08-22 22:58 后生那各膊客圆了 阅读(2) 评论(0) 推荐(0) 编辑

摘要: Python calls matrices lists, NumPy calls them arrays and TensorFlow calls them tensors. Python represents matrices with the list data type. Call np.ar 阅读全文
posted @ 2024-08-22 20:07 后生那各膊客圆了 阅读(2) 评论(0) 推荐(0) 编辑

摘要: DataFrames are the central data structure in the pandas API. It‘s like a spreadsheet, with numbered rows and named columns. 为方便引入例程,先导入对应模块。 1 import 阅读全文
posted @ 2024-08-22 20:07 后生那各膊客圆了 阅读(1) 评论(0) 推荐(0) 编辑