eldr.ai | Multiple Outputs Converter
If you haven't already, please have a look at the
Working With Multiple Outputs
tutorial before going through this tutorial as that will put this small guide in context
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.
(1) Download and have a look at the Customer Data Multi Output example
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.
(2) Convert the output options column to multiple outputs
From the sidebar or navbar menus (AI Data section) navigate to the Multi-Output Converter screen:
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:
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:
That concludes the ELDR AI guide to converting Multi Output Options