This is an old version of the page!

Please refer to https://pages.graphics.cs.wisc.edu/BoxerDocs/ for a more recent and complete version.

Instructions to prepare your own data for Boxer

Data Set Composition

The data set used for Boxer consists of 3 files:

  • results.csv: This file contains the prediction results of each classifier on each instance, where each row represents the id of the data sample and each column represents the name of the classifier. Example image

  • features.csv: This file displays the features of each instance, where each row represents the id of the data sample and each column represents the name of each feature. Example image

  • manifest.json: This file is the configuration of the data set, which helps Boxer system to read and load the data set.

{
 "datasetName": "IMDB 5000 dataset",  // name of the data set
 "classes": [                         // array including the names of classes
   "HIGH",
   "MED",
   "LOW"
 ],
 "classifiers": [                     // array including the names of classifiers 
   "LR",
   "KNN",
   "LDA",
   "NB",
   "SVM",
   "SVM-W",
   "RF",
   "RF-W",
   "DT"
 ],
 "features": {                       // dict including the detailed information of each feature: "type", "description", "categories"(optional), "bounds"(optional)
   "train_or_test": {               
       "type": "categorical",
       "categories": [
           "train",
           "test"
       ],
       "description": "whether instance was used for training or testing"
   },
   "movie_title": {
     "type": "nominal",
     "description": "title"
   },
   "title_year": {
     "type": "interval",
     "description": "year released"
   },
   "content_rating": {
     "type": "ratio",
     "description": "content rating",
     "bounds": [ 0.0, 1.0 ]
   },
 }
}

Load Data into Boxer

Example image