当前位置:网站首页>R 语言 wine 数据集可视化
R 语言 wine 数据集可视化
2022-06-22 19:17:00 【Mrrunsen】
该wine数据集包含对意大利特定地区种植的葡萄酒的化学分析结果。178 个样品中代表了三种类型的葡萄酒,每个样品记录了 13 次化学分析的结果。
数据集是否存在缺失值
data(wine, package="rattle")
library(VIM )
aggr(wine, prop=FALSE, numbers=TRUE)

数据集不存在缺失值
数据集的变量中哪些变量存在相关?
library(ggcorrplot)
wine[,-1] %>%
cor() %>%
round(2) %>%
ggcorrplot(hc.order = TRUE,lab = TRUE)

Hue, Proanthocyanins , Dilution Phenols Flavanoids 这几个变量的相关性比较大
决策树分类模型可视化,会使用哪些特征
library(rpart)
dtree <- rpart(Type ~ ., data=wine, method="class",
parms=list(split="information"))
library(rpart.plot)
rpart.plot( dtree)
边栏推荐
- 【奇葩需求之记录对象不同的日志】
- Several common MySQL commands
- One picture decoding opencloudos community open day
- [deeply understand tcapulusdb technology] create a game area for document acceptance
- Dynamicdatabasesource, which supports the master-slave database on the application side
- Gossip about redis source code 121
- 75-当left join遇到子查询
- 用RNN & CNN进行情感分析 - PyTorch
- uniapp小程序商城开发thinkphp6积分商城、团购、秒杀 封装APP
- 阿里云视频点播播放出错,控制台访问出现code:4400
猜你喜欢

Software testing - Test Case Design & detailed explanation of test classification
Oracle system/用户被锁定的解决方法

what? You can't be separated by wechat

讲真,Kotlin 协程的挂起没那么神秘(原理篇)

AAAI 2022 | traditional Gan can be interpreted after modification, and the interpretability of convolution kernel and the authenticity of generated image are guaranteed

【观察】软件行业创新进入“新周期”,如何在变局中开新局?
Gradle Build Cache引发的Task缓存编译问题

Alibaba cloud video on demand playback error, console access code:4400

软件上线前为什么要做性能测试?软件性能测试机构怎么找

智能计算之神经网络(BP)介绍
随机推荐
Several common MySQL commands
[deeply understand tcapulusdb technology] create a game zone
LORA技术---LoRa信号从数据流变为LoRa扩频信号,再从射频信号通过解调变为数据
84-我对网传&lt;52 条 SQL 语句性能优化策略&gt;的一些看法
Oracle system/用户被锁定的解决方法
关于放大器失真的原因你了解多少呢?
MySQL Basics - functions
75-当left join遇到子查询
Code to Image Converter | 代码生成漂亮图片工具
88-被广为流传的参数优化, 是蜜糖还是毒药?
Web technology sharing | [Gaode map] to realize customized track playback
Scheduling with Testing
跨域 CORS/OPTIONS
采用QTest进行数据集测试-性能测试-GUI测试
web技术分享| 【高德地图】实现自定义的轨迹回放
Introduction to async profiler
[proteus simulation] H-bridge drive DC motor composed of triode + key forward and reverse control
Classic interview question: a page from entering URL to rendering process
什么?你居然不会微信分身
92-几个用match_recognize SQL写法示例