当前位置:网站首页>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
边栏推荐
- AOSP CameraLatencyHistogram的原理与使用
- 云平台建设解决方案
- Summary bug 】 【 Elipse garbled solution project code in Chinese!
- 如何设计 DAO 的 PoW 评判标准 并平衡不可能三角
- 480. Sliding Window Median
- navicat 连接 mongodb 报错[13][Unauthorized] command listDatabases requires authentication
- 重发布实验报告
- mysql如何将表结构导出到excel
- utils 定时器
- Kubernetes入门到精通-Operator 模式
猜你喜欢
PowerMockup 4.3.4::::Crack
直播预告 | 构建业务智联,快速拥抱财务数字化转型
投资性大于游戏性 NFT游戏到底是不是门好生意
Zilliz 2023 秋季校园招聘正式启动!
win10系统下yolov5-V6.1版本的tensorrt部署细节教程及bug修改
What is Adobe?
[MySQL Advanced] Creation and Management of Databases and Tables
Conditional Statements for Shell Programming
Canvas App中点击图标生成PDF并保存到Dataverse中
【MySQL进阶】数据库与表的创建和管理
随机推荐
What is Adobe?
MiniAPI of .NET6 (14): Cross-domain CORS (Part 1)
"Digital Economy Panorama White Paper" Financial Digital User Chapter released!
【MySQL进阶】数据库与表的创建和管理
Embedded Systems: GPIO
云计算国内外发展现状
图的基础概念
October 2019 Twice SQL Injection
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.
Causes of Mysql Disk Holes and Several Ways to Rebuild Tables
Bytebase database schema change management tool
Zilliz 2023 秋季校园招聘正式启动!
Codeup brushing notes - simple simulation
Kotlin - 扩展函数和运算符重载
斩获双奖|易知微荣获“2021中国数字孪生解决方案优秀供应商”“中国智能制造优秀推荐产品”双奖项!
什么是memoization,它有什么用?
Quickly build a website with static files
utlis thread pool
4年工作经验,多线程间的5种通信方式都说不出来,你敢信?
如何基于WPF写一款数据库文档管理工具(二)