当前位置:网站首页>ML's yellowbrick: A case of interpretability (threshold map) for LoR logistic regression model using yellowbrick based on whether Titanic was rescued or not based on the two-class prediction dataset
ML's yellowbrick: A case of interpretability (threshold map) for LoR logistic regression model using yellowbrick based on whether Titanic was rescued or not based on the two-class prediction dataset
2022-08-03 22:45:00 【A virgo's program ape】
ML之yellowbrick:基于titanic泰坦尼克是否获救二分类预测数据集利用yellowbrick对LoRLogistic regression models enable interpretability(阈值图)案例
目录
基于titanic泰坦尼克是否获救二分类预测数据集利用yellowbrick对LoRLogistic regression models enable interpretability(阈值图)案例
# 4、Model Interpretability Visualization
# 4.1、阈值图:基于yellowbrickThe library enables model interpretability
相关文章
ML之yellowbrick:基于titanic泰坦尼克是否获救二分类预测数据集利用yellowbrick对LoRLogistic regression models enable interpretability(阈值图)案例
ML之yellowbrick:基于titanic泰坦尼克是否获救二分类预测数据集利用yellowbrick对LoRLogistic regression models enable interpretability(阈值图)案例实现
基于titanic泰坦尼克是否获救二分类预测数据集利用yellowbrick对LoRLogistic regression models enable interpretability(阈值图)案例
# 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、特征筛选且空值填充
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
# 2.3、特征之间Pearson相关性可视化
# 3、模型建立
# 4、Model Interpretability Visualization
# 4.1、阈值图:基于yellowbrickThe library enables model interpretability
边栏推荐
- 云计算国内外发展现状
- ML之interpret:基于titanic泰坦尼克是否获救二分类预测数据集利用interpret实现EBC模型可解释性之全局解释/局部解释案例
- 代码随想录笔记_动态规划_416分割等和子集
- start with connect by 实现递归查询
- Lift, Splat, Shoot: Encoding Images from Arbitrary Camera Rigs by Implicitly Unprojecting to 3D 论文笔记
- What is the difference between the generator version and the viewer version?
- Makefile
- 【MySQL进阶】数据库与表的创建和管理
- Cloud platform construction solutions
- for loop exercises
猜你喜欢
《数字经济全景白皮书》金融数字用户篇 重磅发布!
直播预告 | 构建业务智联,快速拥抱财务数字化转型
【开源框架】国内首个通用云计算框架,任意程序都可做成云计算。
Bytebase database schema change management tool
Pytest学习-setup/teardown
2022-08-02 mysql/stonedb slow SQL-Q18 - memory usage surge analysis
ML之interpret:基于titanic泰坦尼克是否获救二分类预测数据集利用interpret实现EBC模型可解释性之全局解释/局部解释案例
Fluorescein-PEG-CLS,胆固醇-聚乙二醇-荧光素科研试剂
代码随想录笔记_动态规划_416分割等和子集
投资性大于游戏性 NFT游戏到底是不是门好生意
随机推荐
Makefile
Codeup刷题笔记-简单模拟
Websocket multi-threaded sending message error TEXT_PARTIAL_WRITING--Use case of spin lock replacing synchronized exclusive lock
【开源框架】国内首个通用云计算框架,任意程序都可做成云计算。
RPA power business automation super order!
中国企业构建边缘计算解决方案的最佳实践
《数字经济全景白皮书》金融数字用户篇 重磅发布!
藏宝计划TreasureProject(TPC)系统模式开发技术原理
Makefile
log4j-slf4j-impl cannot be present with log4j-to-slf4j
[N1CTF 2018] eating_cms
Fluorescein-PEG-CLS,胆固醇-聚乙二醇-荧光素科研试剂
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
AOSP CameraLatencyHistogram的原理与使用
[MySQL Advanced] Creation and Management of Databases and Tables
投资性大于游戏性 NFT游戏到底是不是门好生意
Shell编程的条件语句
The sword refers to the offer question 22 - the Kth node from the bottom in the linked list
Zilliz 2023 秋季校园招聘正式启动!
Testng listener