当前位置:网站首页>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





边栏推荐
- 嵌入式系统:概述
- 如何基于WPF写一款数据库文档管理工具(二)
- What is memoization and what is it good for?
- 【MySQL进阶】数据库与表的创建和管理
- 为什么我们需要回调
- 2022的七夕,奉上7个精美的表白代码,同时教大家快速改源码自用
- Golang第二章:程序结构
- websocket多线程发送消息报错TEXT_PARTIAL_WRITING--自旋锁替换synchronized独占锁的使用案例
- Nine ways to teach you to read the file path in the resources directory
- MiniAPI of .NET6 (14): Cross-domain CORS (Part 1)
猜你喜欢
随机推荐
FinClip最易用的智能电视小程序
node连接mysql数据库报错:Client does not support authentication protocol requested by server
483. Smallest Good Base
关于IDO预售系统开发技术讲解丨浅谈IDO预售合约系统开发原理分析
V8中的快慢数组(附源码、图文更易理解)
嵌入式系统:概述
Quickly build a website with static files
重发布实验报告
480. Sliding Window Median
With the rise of concepts such as metaverse and web3.0, many digital forms such as digital people and digital scenes have begun to appear.
嵌入式系统:GPIO
Flink--Join以及Flink函数
Kubernetes入门到精通-Operator 模式
Lift, Splat, Shoot: Encoding Images from Arbitrary Camera Rigs by Implicitly Unprojecting to 3D 论文笔记
趣链的产品构架
RPA power business automation super order!
noip preliminary round
Live Preview | Build Business Intelligence, Quickly Embrace Financial Digital Transformation
2022-08-02 mysql/stonedb慢SQL-Q18-内存使用暴涨分析
Why do we need callbacks

![[N1CTF 2018]eating_cms](/img/09/3599d889d9007eb45c6eab3043f0c4.png)







![[b01lers2020]Life on Mars](/img/d0/d5c9b7224542c8843ce29adc7ef713.png)