当前位置:网站首页>Factoextra: visual PCA of multivariate statistical methods
Factoextra: visual PCA of multivariate statistical methods
2022-07-29 10:33:00 【Mrrunsen】
FactoMineR and factoextra The dimension reduction methods included can be based on the characteristics of data variables ( ration / The number 、 qualitative / classification 、 blend ) Distinguish between these methods .
Principal component analysis (PCA)
example : Los Angeles block data
From the U.S. Census Bureau 2000 Years of data , Including the Los Angeles area 110 A block ,15 A variable . Use rvest package , Get this data set from the network . its 15 The variables are shown in the following table :
surface : Los Angeles block dataset 
We only use six of these variables (Income,Schools,Diversity,Age,Homes,Vets) Principal component analysis , Among the remaining variables, take out four variables related to race (Asian,Black,Latino,White) As a supplementary variable for exploratory data analysis . Use FactoMineR Function of the package PCA() Realize principal component analysis :
library(FactoMineR)
library(factoextra)
library(rvest)
<边栏推荐
- [QNX hypervisor 2.2 user manual]7.2.1 hypervisor tracking events
- Efficient 7 habit learning notes
- Follow teacher Li to learn line generation determinant (continuous update)
- Kunlun storage vs PostgreSQL OLTP test
- 98. (cesium chapter) cesium point heat
- Turn the evolutionary path of push
- VMWare:使用命令更新或升级 VMWare ESXi 主机
- MySQL million level data migration practice notes
- Follow teacher Li to learn online generation - matrix (continuously updated)
- Oncopy and onpaste
猜你喜欢

Knowledge points of common interview questions: distributed lock

SAP Fiori @OData. Analysis of the working principle of publish annotation

Implementation of college logistics repair application system based on SSM

mosquitto_sub -F 参数使用

Data visualization design guide (information chart)

Leetcode question brushing - sorting

转转push的演化之路

云服务大厂高管大变阵:技术派让位销售派

Print out the "hourglass" and the remaining number according to the given number of characters and characters

Two MySQL tables with different codes (utf8, utf8mb4) are joined, resulting in index failure
随机推荐
Mongodb aggregation statistics
Structure the eighth operation of the combat battalion module
What are the compensation standards for hospital misdiagnosis? How much can the hospital pay?
二次握手??三次挥手??
可线性渐变的环形进度条的实现探究
[fortran]vscode配置fortran跑hello world
跟着李老师学线代——矩阵(持续更新)
SAP Fiori @OData. Analysis of the working principle of publish annotation
What happens when MySQL tables change from compressed tables to ordinary tables
【日志框架】
ECCV 2022 | CMU提出在视觉Transformer上进行递归,不增参数,计算量还少
PAHO cross compilation
Where are those test / development programmers in their 30s? a man should be independent at the age of thirty......
Follow teacher Tian to learn practical English Grammar (continuous update)
会议OA项目----我的审批
Network picture to local picture - default value or shortcut key
Does neural network sound tall? Take you to train a network from scratch (based on MNIST)
VMWare:使用命令更新或升级 VMWare ESXi 主机
Print out the "hourglass" and the remaining number according to the given number of characters and characters
This developer, who has been on the list for four consecutive weeks, has lived like a contemporary college student