
医疗数据分析
yimixgg
这个作者很懒,什么都没留下…
展开
-
糖尿病预测方案简介
转载:https://tianchi.aliyun.com/forum/new_articleDetail.html?spm=5176.8366600.0.0.585e311fseKceD&raceId=231638&postsId=3975看了麻烦豆腐等不遗余力的发布教学贴,很受感动。正好赶上复赛提交代码和文档,我也开源下我们的方案。方案流程简介:(1)数据预处理:手工将数据文件...转载 2018-04-24 11:47:56 · 2834 阅读 · 0 评论 -
Keras的基本使用(1)--创建,编译,训练模型
参考链接:https://blog.youkuaiyun.com/yuezhilanyi/article/details/79201705Keras 是一个用 Python 编写的,高级的神经网络 API,使用 TensorFlow,Theano 等作为后端。快速,好用,易验证是它的优点。官方文档传送门:http://keras.io/中文文档传送门:http://keras.io/zh中文第三方文...转载 2019-05-30 11:31:34 · 2988 阅读 · 0 评论 -
用scikit-learn和pandas学习线性回归,XGboost算法实例,用MSE评估模型
对于想深入了解线性回归的童鞋,这里给出一个完整的例子,详细学完这个例子,对用scikit-learn来运行线性回归,评估模型不会有什么问题了。1. 获取数据,定义问题 没有数据,当然没法研究机器学习啦。:) 这里我们用UCI大学公开的机器学习数据来跑线性回归。 数据的介绍在这: http://archive.ics.uci.edu/ml/datasets/Combined+Cycle...转载 2018-04-26 21:36:32 · 5406 阅读 · 0 评论 -
TypeError: '>' not supported between instances of 'float' and 'str'
var_to_encode = ['Device_Type','Filled_Form','Gender','Var1','Var2','Mobile_Verified','Source']for col in var_to_encode: data[col] = le.fit_transform(data[col])报错:TypeError: '>' not supported ...原创 2018-04-26 17:29:22 · 20619 阅读 · 5 评论 -
python csv 格式文件导出 中文乱码问题解决方法
train.to_csv('./result/train_modified_2018426.csv',index=False,encoding="utf_8")导出中文乱码;解决方法:train.to_csv('./result/train_modified_2018426.csv',index=False,encoding="utf_8_sig"),亲测可用参考链接:https://blog....原创 2018-04-26 17:26:25 · 803 阅读 · 0 评论 -
数据集
参考链接https://blog.youkuaiyun.com/guoxinian/article/details/50475554参考链接:https://blog.youkuaiyun.com/binbigdata/article/details/80029825原创 2018-04-25 14:41:58 · 233 阅读 · 0 评论 -
天池大赛——糖尿病
https://tianchi.aliyun.com/forum/new_articleDetail.html?spm=5176.8366600.0.0.3fd1311fD62SMP&raceId=231638&postsId=3943初赛626方案(实际加上后验可以达到600)+(A榜线下81线上815)+复赛基本思路和方案...转载 2018-04-25 10:03:41 · 1823 阅读 · 0 评论 -
python3 ValueError: The shape of the input to "Flatten" is not fully defined (got (0, 6, 80)
在用keras建立cnn模型时一直报错如下ValueError: The shape of the input to "Flatten" is not fully defined (got (0, 6, 80). Make sure to pass a complete "input_shape" or "batch_input_shape" argument to the first lay...原创 2019-05-29 21:40:53 · 3729 阅读 · 0 评论