{
  "fetched_at": "2026-10-20T01:00:27Z",
  "source_url": "https://www.kaggle.com/competitions/etm580-2019/data",
  "pages": [
    {
      "name": "rules",
      "content": "This is a page where you can include rules that participants must accept before joining. You may wish to include rules like:\n\n - Don't cheat!\n - Apply yourself!\n - Have fun!",
      "isPublished": false,
      "hasIsPublished": false,
      "postTitle": "",
      "hasPostTitle": false,
      "mimeType": "",
      "hasMimeType": false
    },
    {
      "name": "data-description",
      "content": "Here is a description of the files you have been provided for this competition:\nprojetrain.csv - the training set of data that you should use to build your models\nprojetest.csv - the test set that you will be evaluated on. It contains all of the independent variables, but not the dependent variable.\nsample-submission.csv - a sample submission file in the correct format.\nQuestions.pdf - the question test corresponding to each of the question codes, as well as the possible answers.\n\nData fields\nUserID - an anonymous id unique to a given user\n\nYOB - the year of birth of the user\n\nGender - the gender of the user, either Male, Female, or not provided\n\nIncome - the household income of the user. Either not provided, or one of \"under $25,000\", \"$25,001 - $50,000\", \"$50,000 - $74,999\", \"$75,000 - $100,000\", \"$100,001 - $150,000\", or \"over $150,000\".\n\nHouseholdStatus - the household status of the user. Either not provided, or one of \"Domestic Partners (no kids)\", \"Domestic Partners (w/kids)\", \"Married (no kids)\", \"Married (w/kids)\", \"Single (no kids)\", or \"Single (w/kids)\".\n\nEducationLevel - the education level of the user. Either not provided, or one of \"Current K-12\", \"High School Diploma\", \"Current Undergraduate\", \"Associate's Degree\", \"Bachelor's Degree\", \"Master's Degree\", or \"Doctoral Degree\".\n\nParty - the political party of the user. Either not provided, or one of \"Democrat\", \"Republican\", \"Independent\", \"Libertarian\", or \"Other\".\n\nHappy - a binary variable, with value 1 if the user said they were happy, and with value 0 if the user said that were neutral or not happy. This is the variable you are trying to predict.\n\nQ124742, Q124122, . . . , Q96024 - 101 different questions that the users were asked on Show of Hands. If the user didn't answer the question, there is a blank. For information about the question text and possible answers, see the file Questions.pdf. votes - the total number of questions that the user responded to, out of the 101 questions included in the data set (this count does not include the happiness question).\n",
      "isPublished": false,
      "hasIsPublished": false,
      "postTitle": "",
      "hasPostTitle": false,
      "mimeType": "",
      "hasMimeType": false
    },
    {
      "name": "Description",
      "content": "This competition deals with predicting the happiness of people. The data were collected by Show of Hands, an informal polling platform for use on mobile devices and the web, to see what aspects and characteristics of people's lives predict happiness. The data sets were used in the competition held for the students of the \"The Analytics Edge\" course in the Edx platform on the link: https://www.edx.org/course/mitx/mitx-15-071x-analytics-edge-1416)",
      "isPublished": false,
      "hasIsPublished": false,
      "postTitle": "",
      "hasPostTitle": false,
      "mimeType": "",
      "hasMimeType": false
    },
    {
      "name": "Evaluation",
      "content": "The evaluation metric for this competition is AUC. The AUC is a commonly used evaluation metric for binary problems like this one. The interpretation is that given a random positive observation and negative observation, the AUC gives the proportion of the time you guess which is which correctly. It is less affected by sample balance than accuracy. A perfect model will score an AUC of 1, while random guessing will score an AUC of around of 0.5.\n\nFor every observation in the test set, submission files should contain two columns: UserID and Probability. The submission should be a csv file. The UserID should just be the corresponding UserID column from the dataset. The Probability column should be the predicted probability of the outcome 1 for that UserID.\n\nAs an example of how to generate a submission file in R, suppose that your test set probability predictions are called \"testPred\" and your test data set is called \"test\". Then you can generate a submission file called \"submission.csv\" by running the following two lines of code in R (if you copy and paste these lines of code into R, the quotes around submission.csv might not read properly - please delete and re-type the quotes if you get an error):\nsubmission = data.frame(UserID = test$UserID, Probability = testPred)\nwrite.csv(submission, “submission.csv”, row.names=FALSE) \n",
      "isPublished": false,
      "hasIsPublished": false,
      "postTitle": "",
      "hasPostTitle": false,
      "mimeType": "",
      "hasMimeType": false
    }
  ]
}