Age | Height | Weight | EducationLevel | NumberOfLanguages | LikeVollyball | LikeTableTennis | FavouriteMovie | Province | HappinessLevel |
---|---|---|---|---|---|---|---|---|---|
48.0 | 162.0 | 61.0 | Undergraduate Degree (UG) | 3 | False | True | The Lord of the Rings | Henan | 9.0 |
48.0 | 172.0 | 65.0 | Postgraduate/ Master's Degree (PG) | 3 | True | True | Wolf Warriors | Henan | 10.0 |
19.0 | 169.0 | 61.0 | Undergraduate Degree (UG) | 2 | True | False | Guardians of the Galaxy | Henan | 9.0 |
18.0 | 176.0 | 95.0 | Undergraduate Degree (UG) | 2 | True | True | Fast & Furious | Liaoning | 8.0 |
18.0 | 168.0 | 52.0 | Undergraduate Degree (UG) | 2 | False | False | The Wandering Earth | Tianjin | 8.0 |
MLEnd Happiness
A dataset of perceived happiness
About Dataset
Philosophers have long debated whether happiness stands as life's ultimate goal. Despite our ongoing pursuit, the genuine measure of happiness remains elusive. Yet, our quest for understanding has led to the exploration of novel approaches that hold promise in gauging an individual's happiness.
Traditionally, happiness has been assessed primarily through self-reported measures. However, a novel perspective emerges within the dataset that we present here. Rather than directly inquiring about an individual's self-perceived happiness, we pivot the assessment to the perspectives of their close associates. This paradigm shift prompts participants to gather data from those intimately connected to them, such as friends and family. While the MLEnd Happiness Dataset may not definitively ascertain an individual's perceived happiness, it offers insight into how their immediate circle perceives their happiness. And by extend, we have a small window to the participant's perpective.
The MLEnd Happiness Dataset comprises 310 samples, collected by over 80 participants. This collection offers a unique opportunity to explore potential connections between demographic factors and the perceived happiness of an individual. The dataset was curated by students at the Queen Mary Hainan School, presenting a valuable resource for investigating the interplay between demographics and the perception of happiness.
Enjoy!
Sample of data
Here is a sample of data:
Download Data
Install mlend (>1.0.0.2)
To download the Yummy dataset, first step is to install mlend
library. Use pip to install library.
pip install mlend
Download dataset
To download happiness dataset make sure to updgrade mlend
library to version>1.0.0.2
pip install mlend --upgrade
To download dataset, use following piece of code
import mlend
from mlend import download_happiness, download_load_happiness, happiness_load
datadir = download_happiness(save_to = '../MLEnd')
It will download a CSV file in folder ../MLEnd/happiness
directory
Read dataset
After downloading, to load dataset use following piece of code
import mlend
from mlend import download_happiness, download_load_happiness, happiness_load
datadir = download_happiness(save_to = '../MLEnd')
D = happiness_load(datadir)
Download and read dataset
Alternately, use following piece of code to download and load data with one line
import mlend
from mlend import download_load_happiness
D = download_load_happiness()
D.head()
MLEnd Documentation
For mlend documentation use help(fun)
in python terminal or Jupyter-notebook. Alternately, check out