Build Data

You have now imported the data into the Xineoh API, and the next step is to process the data into the training and testing sets.

The training and testing data will be split into 80% training and 20% testing.

It is important to note here whether or not you want the data to be processed contextually or not, as this will affect the contextual parameter when you test the model later on.

Build Data and Structures for Training and Testing API Call

POST - /builder/build
Params: { version: v3.0 }
Body: { contextual: true }

We will be building it with the contextual field set to true. We are doing this because given the MovieLens use case it will create a more accurate model. For more on this param please see the official documentation here.

Successful Response:

{
    "status_code": 200,
    "success": "We will notify you when it's finished",
    "process_id": PROCESS_ID_HERE
}

When you receive a process_id from an API call, it means that the API is processing the request and that you will be emailed when it has been completed. You can view the progress of a process with the following API call.

View Process API Call:

GET - /process
PARAMS: { version: v3.0, process_id: PROCESS_ID_HERE }

Successful Response:

{
    "status_code": 200,
    "response": {
        "process_id": "PROCESS_ID_HERE",
        "status": "in_progress",
        "created_dt": "YEAR-MONTH-DAY HOUR:MINUTE:SECOND"
    }
}

You will receive the following email when the API has completed processing the data.

Email Notification: