当前位置:网站首页>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
边栏推荐
猜你喜欢
藏宝计划TreasureProject(TPC)系统模式开发技术原理
pikachu Over permission 越权
走迷宫 BFS
网络基础学习系列四(网络层,数据链路层和一些其他重要协议或技术)
AOSP CameraLatencyHistogram的原理与使用
[MySQL Advanced] Creation and Management of Databases and Tables
What is Adobe?
MiniAPI of .NET6 (14): Cross-domain CORS (Part 1)
Lift, Splat, Shoot: Encoding Images from Arbitrary Camera Rigs by Implicitly Unprojecting to 3D 论文笔记
2022-08-02 mysql/stonedb慢SQL-Q18-内存使用暴涨分析
随机推荐
LabVIEW code generation error 61056
483. Smallest Good Base
Pytest学习-setup/teardown
物联网新零售模式,引领购物新潮流
Kubernetes入门到精通-Operator 模式
utlis thread pool
【云原生实用技巧】使用 skopeo 批量同步 helm chart 依赖镜像
LabVIEW代码生成错误 61056
Click the icon in Canvas App to generate PDF and save it to Dataverse
Testng listener
Optimize the query (work in progress)
Codeup刷题笔记-简单模拟
云计算国内外发展现状
线上服务器老是卡,该如何优化?
"Digital Economy Panorama White Paper" Financial Digital User Chapter released!
决策树、GBDT、XGBOOST树的可视化
log4j-slf4j-impl cannot be present with log4j-to-slf4j
.NET6之MiniAPI(十四):跨域CORS(上)
FinClip最易用的智能电视小程序
113. Teach a Man how to fish - How to query the documentation and technical implementation details of any SAP UI5 control property by yourself