地球资源数据云——数据资源详情

幸福分类数据集

发布时间:2026-03-17 14:32:40资源ID:2031257539256422402资源类型:免费

该数据集《Happiness Classification Dataset》主要用于多分类任务,数据形态以表格为主,应用场景偏向文本内容分析。 题目说明:Responses from a survey about people being happy or unhappy from varying cities. 任务类型:表格多分类。 建议流程:先做缺失值/异常值处理与特征编码,再比较逻辑回归、随机森林、XGBoost。 评估建议:使用分层切分或交叉验证,优先关注 F1、Recall、AUC 等分类指标。 可用文件:happydata.csv。 A feeling of happiness while self introspecting is the major reason we indulge in our hobbies and choose places to live. This Dataset is based on a survey conducted where people rated different metrics of their city on a scale of 5 and answered if they are happy or unhappy. The goal of this dataset is to understand the important factors that play a role in making the residents of a city more happy with their lives. Data Dictionary: - infoavail = the availability of information about the city services housecost = the cost of housing schoolquality = the overall quality of public schools policetrust = your trust in the local police streetquality = the maintenance of streets and sidewalks events = the availability of social community events happy = decision attribute (D) with values 0 (unhappy) and 1 (happy)

幸福分类数据集

摘要概览

该数据集《Happiness Classification Dataset》主要用于多分类任务,数据形态以表格为主,应用场景偏向文本内容分析。 题目说明:Responses from a survey about people being happy or unhappy from varying cities.

任务类型:表格多分类。

建议流程:先做缺失值/异常值处理与特征编码,再比较逻辑回归、随机森林、XGBoost。

评估建议:使用分层切分或交叉验证,优先关注 F1、Recall、AUC 等分类指标。

可用文件:happydata.csv。

A feeling of happiness while self introspecting is the major reason we indulge in our hobbies and choose places to live.

This Dataset is based on a survey conducted where people rated different metrics of their city on a scale of 5 and answered if they are happy or unhappy.

The goal of this dataset is to understand the important factors that play a role in making the residents of a city more happy with their lives.

Data Dictionary: -

infoavail = the availability of information about the city services housecost = the cost of housing schoolquality = the overall quality of public schools policetrust = your trust in the local police streetquality = the maintenance of streets and sidewalks events = the availability of social community events happy = decision attribute (D) with values 0 (unhappy) and 1 (happy)