https://www.jianshu.com/p/f4282df18537

泰坦尼克号幸存者预测-独立完成 作业内容 : 草稿 2025-04-26 23:06:21 以下代码参考自网络 https://blog.csdn.net/aicanghai_smile/article/details/79234172 https://www.jianshu.com/p/9a5bce0de13f https://www.kaggle.com/c/titanic/data 经过少量修改 数据介绍: PassengerId:乘客ID Survived:是否获救 Pclass:乘客等级 Name:乘客姓名 Sex:性别 Age:年龄 SibSp:堂兄弟妹个数 Parch:父母与小孩个数 Ticket:船票信息 Fare:票价 Cabin:客舱 Embarked:登船港口 实验要求 请给部分代码加上注释 In [1] # 查看当前挂载的数据集目录, 该目录下的变更重启环境后会自动还原 # View dataset directory. This directory will be recovered automatically after resetting environment. !ls /home/aistudio/data data6374 In [2] # 查看工作区文件, 该目录下的变更将会持久保存. 请及时清理不必要的文件, 避免加载过慢. # View personal work directory. All changes under this directory will be kept even after reset. Please clean unnecessary files in time to speed up environment loading. !ls /home/aistudio/work In [3] !pip install seaborn -i https://mirrors.aliyun.com/pypi/simple Looking in indexes: https://mirrors.aliyun.com/pypi/simple Requirement already satisfied: seaborn in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (0.10.0) Requirement already satisfied: matplotlib>=2.1.2 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from seaborn) (2.2.3) Requirement already satisfied: pandas>=0.22.0 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from seaborn) (1.1.5) Requirement already satisfied: numpy>=1.13.3 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from seaborn) (1.16.4) Requirement already satisfied: scipy>=1.0.1 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from seaborn) (1.3.0) Requirement already satisfied: cycler>=0.10 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from matplotlib>=2.1.2->seaborn) (0.10.0) Requirement already satisfied: six>=1.10 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from matplotlib>=2.1.2->seaborn) (1.16.0) Re
最新发布
04-28
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值