成功解决xgboost\core.py:614: UserWarning: Use subset (sliced data) of np.ndarray is not recommended beca
Core 解决 not of is 成功 Data use
2023-09-14 09:04:51 时间
成功解决xgboost\core.py:614: UserWarning: Use subset (sliced data) of np.ndarray is not recommended beca
目录
解决问题
xgboost\core.py:614: UserWarning: Use subset (sliced data) of np.ndarray is not recommended because it will generate extra copies and increase memory consumption
"because it will generate extra copies and increase memory consumption")
解决思路
错误地址:xgboost\core.py:614
用户警告:
使用np.ndarray的子集(切片数据),不推荐使用np.ndarray,因为它会生成额外的副本并增加内存消耗
“因为它会生成额外的副本,并增加内存消耗”
解决方法
此信息提示为警告,而不是error,即使不处理也不会影响代码编程的运行。如果想要去掉,可以更新库至最新版本!
然后根据要求提示修改使用方法!
在进行sliced data时,' np.ndarray '方法不再推荐使用!
相关文章
- 【愚公系列】2022年11月 .NET CORE工具案例-.NET Core执行JavaScript
- 【愚公系列】2022年10月 .NET CORE文章1(待写)
- 【愚公系列】2022年12月 .NET CORE工具案例-IHostedService实现任务调度
- 【愚公系列】2022年12月 .NET CORE工具案例-.NET Core使用ExcelMapper
- 在 EF Core 7 中实现强类型 ID
- 18秒完成渲染!苹果Core ML官宣深度支持Stable Diffusion 2.0
- 有了core-dump文件,BUG终于解决了!
- 【愚公系列】2023年02月 .NET CORE工具案例-AspNetCoreRateLimit限流的使用
- 【愚公系列】2023年03月 .NET CORE工具案例-基于AntiXssUF的跨脚本XSS中间件
- 正式开始学习ASP.NET Core 6 Razor Pages 介绍
- 医院实验室LIS系统源码,采用.Net Core开发
- .NET Core添加项目之间的依赖关系详解编程语言
- MySQL Variables core_file 数据库 参数变量解释及正确配置使用
- Linux深入学习:探索Core文件(linux的core文件)
- Exploring the World of Linux ELF: Understanding the Core of Linux System Development(linuxelf)
- Core环境下安装Mysql数据库(core 安装mysql)