eldr.ai | Multiple Outputs Converter



In this example, we have gathered data about our online customers: some personal/demographic information, as well as a product they purchased as well as the next product they purchased.

There are six products so we need to be able to represent 6 "next products" as an output so ELDR AI can learn from it.

Click here to download a small CSV file (1Kb, 50 rows) containing Customer Data that we want to convert so ELDR AI can learn from it.

You will see the data looks very similar to to the customer data from the Quick Start guide with ips (CreditScore, Age) and ipcs(PostCode,Product,PaymentMethod). You will also see that we have a single op, however this time the op column contains multiple outputs (Chocolate, Vegetables, Potatoes, Biscuits, Fruit and Crisps) as opposed to just 0 and 1.

It's the output column we need to convert i.e.One Hot Encode so ELDR AI can use it.

From the sidebar or navbar menus (AI Data section) navigate to the Multi-Output Converter screen:

ELDR AI Multi Output One Hot Encode Converter

Choose your Data Type - in this case CSV - and upload the CSV file you have just downloaded, then click the "Convert" button.

You will hopefully be greeted with a success message and a new button:

ELDR AI Multi Output One Hot Encode Converter Success

Click the download button to download the converted CSV file to your machine.

You will see the outputs (in this case NextProductChocolate, NextProductVegetables, NextProductPotatoes, NextProductBiscuits, NextProductCrisps, NextProductFruit) have been One Hot Encoded with 0s and 1s.

You can now use this data directly in ELDR AI (as shown in the Working With Multiple Outputs tutorial) to create AI Data and train an AI Model to get some predictions, recommendations and insights.

Below, we have jumped straight to the predictions and insights step to show this converted data in action. Here this Data and Model is used to predict what a customer is likely to buy next:

ELDR AI Multi Output One Hot Encode Converter Prediction ELDR AI Multi Output One Hot Encode Converter Insights Graph ELDR AI Multi Output One Hot Encode Converter Insights Heatmap