当前位置:网站首页>Interpretation of ML: A case of global interpretation/local interpretation of EBC model interpretability based on titanic titanic rescued binary prediction data set using interpret
Interpretation of ML: A case of global interpretation/local interpretation of EBC model interpretability based on titanic titanic rescued binary prediction data set using interpret
2022-08-03 22:45:00 【A Virgo programmer】
ML之interpret:基于titanicTitanic rescued binary prediction dataset utilizationinterpret实现EBCA global explanation of model interpretability/Partial explanation of the case
目录
# 2.2、Features are filtered and filled with null values
# 3.3、基于EBCModels enable model interpretability
# (1)、overall interpretability
相关文章
ML之interpret:基于titanicTitanic rescued binary prediction dataset utilizationinterpret实现EBCA global explanation of model interpretability/Partial explanation of the case
ML之interpret:基于titanicTitanic rescued binary prediction dataset utilizationinterpret实现EBCA global explanation of model interpretability/Partial explanation case implementation
基于titanicTitanic rescued binary prediction dataset utilizationinterpret实现EBCA global explanation of model interpretability/Partial explanation of the case
# 1、定义数据集
PassengerId | Survived | Pclass | Name | Sex | Age | SibSp | Parch | Ticket | Fare | Cabin | Embarked |
1 | 0 | 3 | Braund, Mr. Owen Harris | male | 22 | 1 | 0 | A/5 21171 | 7.25 | S | |
2 | 1 | 1 | Cumings, Mrs. John Bradley (Florence Briggs Thayer) | female | 38 | 1 | 0 | PC 17599 | 71.2833 | C85 | C |
3 | 1 | 3 | Heikkinen, Miss. Laina | female | 26 | 0 | 0 | STON/O2. 3101282 | 7.925 | S | |
4 | 1 | 1 | Futrelle, Mrs. Jacques Heath (Lily May Peel) | female | 35 | 1 | 0 | 113803 | 53.1 | C123 | S |
5 | 0 | 3 | Allen, Mr. William Henry | male | 35 | 0 | 0 | 373450 | 8.05 | S |
# 2、数据预处理
# 2.1、类别特征编码
# 2.2、Features are filtered and filled with null values
Pclass Age SibSp Parch Fare Sex_encoding Embarked_encoding \
0 3 22.0 1 0 7.2500 1 0
1 1 38.0 1 0 71.2833 0 1
2 3 26.0 0 0 7.9250 0 0
3 1 35.0 1 0 53.1000 0 0
4 3 35.0 0 0 8.0500 1 0
Survived
0 0
1 1
2 1
3 1
4 0
# 3、模型建立与训练
# 3.1、数据集切分
# 3.2、建立EBC模型
# 3.3、基于EBCModels enable model interpretability
# (1)、overall interpretability
Sex_encoding
Pclass
Fare
Age
SibSp
pclass x Sex_encoding
Parch
Embarked_encoding
Age x Fare
Age x SibSp
Parch x Fare
Parch x Sex_encoding
Age x Parch
Pclass x Age
Age x Sex_encoding
age,10岁以下,年龄小的,Can increase the chances of survival
fare票价越高,The more you can increase your chances of survival
男性,will reduce the chances of survival
0port i.e.Southampton港口,will reduce the chances of survival
# (2)、local interpretability—Select the test sample data in front5行
the first five samples,Visualize the predicted interpretation for each sample one by one
边栏推荐
- "Digital Economy Panorama White Paper" Financial Digital User Chapter released!
- 2022-08-03 oracle执行慢SQL-Q17对比
- UVa 1025 - A Spy in the Metro(白书)
- [MySQL Advanced] Creation and Management of Databases and Tables
- Diazo Biotin-PEG3-DBCO | Diazo Compound Modified Biotin-Tripolyethylene Glycol-Dibenzocyclooctyne
- noip preliminary round
- start with connect by implements recursive query
- 嵌入式系统:时钟
- noip初赛
- 【云原生实用技巧】使用 skopeo 批量同步 helm chart 依赖镜像
猜你喜欢
【MySQL进阶】数据库与表的创建和管理
Gains double award | know micro easily won the "2021 China digital twin solution suppliers in excellence" "made in China's smart excellent recommended products" double award!
Cisco ike2 IPSec配置
重发布实验报告
嵌入式系统:概述
navicat 连接 mongodb 报错[13][Unauthorized] command listDatabases requires authentication
封装、包、访问权限修饰符、static变量
pikachu Over permission 越权
What is the difference between the generator version and the viewer version?
On the Qixi Festival of 2022, I will offer 7 exquisite confession codes, and at the same time teach you to quickly change the source code for your own use
随机推荐
Bytebase数据库 Schema 变更管理工具
for loop exercises
With 4 years of work experience, the 5 communication methods between multi-threads can't be said, can you believe it?
Republish the lab report
Flink--Join以及Flink函数
走迷宫 BFS
HDU 5655 CA Loves Stick
Optimize the query (work in progress)
Embedded systems: overview
113. Teach a Man how to fish - How to query the documentation and technical implementation details of any SAP UI5 control property by yourself
Live Preview | Build Business Intelligence, Quickly Embrace Financial Digital Transformation
[MySQL Advanced] Creation and Management of Databases and Tables
斩获双奖|易知微荣获“2021中国数字孪生解决方案优秀供应商”“中国智能制造优秀推荐产品”双奖项!
L2-029 特立独行的幸福
What is the difference between the generator version and the viewer version?
九种方式,教你读取 resources 目录下的文件路径
websocket多线程发送消息报错TEXT_PARTIAL_WRITING--自旋锁替换synchronized独占锁的使用案例
golang写的存储引擎,基于b+树,mmap
RPA助力商超订单自动化!
为什么我们需要回调