当前位置:网站首页>Machine learning -- census data analysis
Machine learning -- census data analysis
2022-07-06 11:10:00 【Pingguo stuffed with rice cakes】
machine learning -- Census data analysis
It is necessary to clean the data when conducting census analysis ; Clean the data by data cleaning ;
Download data Download the original data from the official website :UCI Machine Learning Repository
Will download okay adult.data File to adult.csv file
Data cleaning
Clean the data --- contrast https://archive.ics.uci.edu/ml/datasets/Adult Clean the data information in .
Alternative method
After replacing all strings , take <=50K Replace all with 0,>50K Replace all with 1.
The final will be ? perhaps NAN Replace with -1. notes : Be sure to pay attention to whether there are spaces .
Cleaning data is completed ( We must be careful that data cleaning errors will lead to the failure of decision tree analysis )
After cleaning the data, go to Alibaba cloud to create a project , To configure .
New project
Edit workflow
The first step is to create a COS Data sets Input -- data source --COS Data sets
To configure COS Data sets
The second step is to create a modified column name Algorithm -- Machine learning algorithm -- Data preprocessing -- Change column names
Configure and modify column names
The third step is data segmentation Algorithm -- Machine learning algorithm -- Data preprocessing -- Data segmentation
Data segmentation configuration
The fourth step is to classify the decision tree Algorithm -- Machine learning algorithm -- classification -- Decision tree classification
Then configure the decision tree to classify the previous
Connect
Finally, the second classification task evaluation Output -- Model to evaluate -- II. Classification task evaluation
Run
边栏推荐
- CSDN markdown editor
- 项目实战-后台员工信息管理(增删改查登录与退出)
- 自动机器学习框架介绍与使用(flaml、h2o)
- [number theory] divisor
- CSDN Q & a tag skill tree (V) -- cloud native skill tree
- QT creator design user interface
- Picture coloring project - deoldify
- Install mysql5.5 and mysql8.0 under windows at the same time
- Windows下安装MongDB教程、Redis教程
- C语言标准的发展
猜你喜欢
Invalid global search in idea/pychar, etc. (win10)
La table d'exportation Navicat génère un fichier PDM
35 is not a stumbling block in the career of programmers
QT creator design user interface
QT creator specifies dependencies
Generate PDM file from Navicat export table
[download app for free]ineukernel OCR image data recognition and acquisition principle and product application
CSDN markdown editor
Redis的基础使用
[Thesis Writing] how to write function description of jsp online examination system
随机推荐
Ansible practical Series III_ Task common commands
Some notes of MySQL
解决:log4j:WARN Please initialize the log4j system properly.
Install mysql5.5 and mysql8.0 under windows at the same time
MySQL master-slave replication, read-write separation
CSDN问答标签技能树(二) —— 效果优化
1. Mx6u learning notes (VII): bare metal development (4) -- master frequency and clock configuration
[BMZCTF-pwn] 11-pwn111111
Error connecting to MySQL database: 2059 - authentication plugin 'caching_ sha2_ The solution of 'password'
Copie maître - esclave MySQL, séparation lecture - écriture
Django运行报错:Error loading MySQLdb module解决方法
FRP intranet penetration
Kubernetes - problems and Solutions
Mysql22 logical architecture
Are you monitored by the company for sending resumes and logging in to job search websites? Deeply convinced that the product of "behavior awareness system ba" has not been retrieved on the official w
Test objects involved in safety test
CSDN blog summary (I) -- a simple first edition implementation
Breadth first search rotten orange
@Controller, @service, @repository, @component differences
Picture coloring project - deoldify