369IT编程
  •  首页
  •  教程
  •  IT编程
  •  国外技术
  •  登录
  1. 标签
  2. median
  • Cannot use median strategy with non-numeric data: could not convert string to float: ‘<1

    创建一个imputer实例, 指定你要用属性中的中位数替代该属性的缺失值,再使用fit()方法将imputer实例适配到训练集,实现代码如下: from sklearn.impute import SimpleImputerimpute
    numericStrategymedianDATAfloat
    admin7月前
    470
  • median

    median
    admin2024-1-17
    280
CopyRight © 2022 All Rights Reserved
Processed: 0.023, SQL: 9