没有合适的资源?快使用搜索试试~ 我知道了~
python分析患者数据.pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 22 浏览量
2023-06-18
13:15:28
上传
评论
收藏 885KB PDF 举报
温馨提示
试读
9页
python分析患者数据.pdf
资源推荐
资源详情
资源评论
Python #2
Analyzing Patient Data
Location: https://people.sc.fsu.edu/∼jburkardt/classes/python 2022/python02/python02.pdf
Freely adapted from the Python lessons at https://software-carpentry.org/
Working with a data file
• Data is organized into lists and tables, and stored in files;
• To work with such data, we will need functions from the numpy library;
• Our example will involve a file of medical data;
• We want to transfer the data from the file, and store it as a variable;
• This variable will use a new structure, the numpy array;
• Then we want to examine individual values, rows, and columns of the data;
• We can compute some simple data statistics;
• Arrays can be indexed, stacked, and differenced.
1 Data stored in CSV format
A doctor has performed a medical experiment, to test a new treatment for arthritis. 60 patients were involved
in the study, over a period of 40 days. On each day, each patient’s level of inflammation was measured, on
a scaled from 0 to 20. Thus, the results of the medical study can be thought of as a 60 row by 40 column
table of numbers.
This data is stored in a file named inflammation-01.csv. The file can be downloaded from the class website.
Another way to get this file is to go to
https://people.sc.fsu.edu/∼jburkardt/classes/python 2022/python 2022.html
then choose datasets, which will give you a menu that includes the file we are interested in. The file
extension .csv tells us that the data is stored as comma separated values, that is, the file consists of 60 lines
of text, and each such line contains 40 numbers, separated by commas. Here is what the first three lines of
the file look like:
1
资源评论
卷积神经网络
- 粉丝: 342
- 资源: 8460
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 建筑结构\施工图\A型施工图-建筑-空施08.dwg
- 建筑结构\施工图\A型施工图-建筑-空施07.dwg
- 视频下载神器-**猫抓**浏览器插件
- Java课程设计模板.docx
- com.whidev.mapchart.apk
- Delphi 12 控件之R121.patch1.zip
- Delphi 12 控件RADStudio-12-1-29-0-51961-7529-KeyPatch.rar
- Delphi 12 控件之Delphi 10.4.2 patch合并包.rar
- Delphi 12 控件之12.1Patch-Patch1.rar
- Delphi 12 控件之LMD.VCL.Full.Version.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功