自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 TypeError: loop of ufunc does not support argument 0 of type str which has no callable log method

【问题解决!!!】TypeError: loop of ufunc does not support argument 0 of type str which has no callable log method

2022-04-20 20:12:16 20246 3

转载 解决XGboost安装问题:xgboost.core.XGBoostError: XGBoost Library (xgboost.dll) could not be loaded.

解决XGboost安装问题:xgboost.core.XGBoostError: XGBoost Library (xgboost.dll) could not be loaded.今天在拟合xgboost模型的时候,输入如下代码段:import xgboostfrom xgboost import XGBClassifiermodel = XGBClassifier()model.fit(X_train, y_train)出现了报错:于是,根据错误提示“likely cause”的指示,

2021-06-14 21:52:51 2530 1

原创 成功解决TypeError: Encoders require their input to be uniformly strings or numbers.

成功解决TypeError: Encoders require their input to be uniformly strings or numbers. Got [‘float‘, ‘int‘,‘str’]今天在给数据编码的时候,在将离散特征转换为整数编码时,出现了报错如下:​​后来发现可以先将要编码的离散变量全部转换成字符型的,例如作出如下修改:from sklearn.preprocessing import LabelEncoderclean_loan_of[attri_cols] =

2021-06-13 20:20:20 7196

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除