自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 解决FutureWarning: using a dict on a Series for aggregation is deprecated and will be removed方案

报错信息:FutureWarning: using a dict on a Series for aggregation is deprecated and will be removed in a future version. Use named aggregation instead. >>> grouper.agg(name_1=func_1, name_2=func_...

2019-09-19 20:43:31 1708

原创 解决jupyter notebook中出现"Figure size 640x480 with 1 Axes"不显示图片的方案

问题代码:(可忽略代码)import numpy as npfrom sklearn.feature_selection import SelectKBest, f_classifimport matplotlib.pyplot as pltpredictors = ["Pclass", "Sex", "Age", "SibSp", "Parch", "Fare", "Embarked",...

2019-09-16 14:15:17 22076 7

原创 解决FutureWarning: Default solver will be changed to 'lbfgs' in 0.22问题

代码:from sklearn import model_selectionfrom sklearn.linear_model import LogisticRegression# Initialize our algorithmalg = LogisticRegression(random_state=1)# Change to alg = LogisticRegression(ran...

2019-09-16 14:03:14 1117

原创 解决TypeError: __init__() got an unexpected keyword argument 'n_folds' /'n_splits'问题

关于解决“泰坦尼克船员获救数据分析”的KFold()报错问题。报错信息:TypeError: __init__() got an unexpected keyword argument 'n_folds'报错代码主体如下:#Import the linear regression classfrom sklearn.linear_model import LinearRegression...

2019-09-15 22:48:34 17479 7

空空如也

空空如也

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

TA关注的人

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