Add model

Add Model

AIRA dashboard offers several models related to retail and you can leverage them for analysis. There are five models available currently on AIRA. You need to add models manually to your org according to the business requirement.

There are four steps involved for an org to use a model.

TABLE OF CONTENT

Initiate model

You can either select a new model offered by Capillary or work on pending models that have been initiated.

To select a new model, use the following steps.

  1. On the AIRA Dashboard page, click New model.
  2. Choose a relevant model and click on Initiate. The model is initiated and its status/sub-status changes to Not Initiated/Disabled.
1218

Proceed to Step 2: Validate Data.

1067

Validate data

Once you initiate a model, you need to validate the data to ensure the data is proper without any errors.

To validate the data,

  • Navigate to the Validate tab, click Validate. You will see this only if the the validation is pending for the model.
942

Data validation triggers and the status/sub-status of the model changes to In Progress/Validating.

When the validation is completed, the status changes to User Action Required/Ready for Training. You can proceed to Step 3: Train Model.

1066
  • User Action Required/ Data Quality: Needs Attention: The status or sub-status of the model when the data validation has failed. You can see the reason why the data validation has failed along with the recommended solution.
1070

Fields in Data Validation tab

966
OptionDescription
Validation Status Disabled: The data validation for the model is not yet initiated. You will see an option to validate data.
In_progress: The data validation for the model is in progress (dataset is being ingested in the Customer Data Platform).
Success: Validation is complete and the model is ready for training.
Failure: The validation is failed due to insufficient data for other reasons
ObservationsThis shows the reason identified for validation failures. This shows N/A for successfully completed validations.
Last AttemptShows the recent date of data validation.
  • To download data validation report, click Download report. The report downloads in a HTML format.
606
  • Successful validation report: When the data is validated successfully, you will see the summary of the data quality as shown here.
880
  • When the data validation is not successful, you will see an exhaustive report that helps identify root causes of failure such as scarcity of historical data or insufficient number of campaigns.

Train model

You need to train the model after the dataset validation is successful. The training process usually takes less than a day.

  • To train a model, navigate to the Training tab and click Train. The status/sub-status of your model changes to In Progress/Training.
1064

If validation has failed for the model, you will see a note to fix validation issued (as shown in the screenshot)

568

When the model training has been successfully completed, you will see a screen in your Training tab similar to the below screenshot.

1064

You can view the descriptions of the fields of Training tab here.

Check data accuracy

A model’s performance decays with time (with the availability of new data) and if the accuracy metrics downgrade, you must re-train the model.

444

If the model has not completed all the previous stages, then the Accuracy tab shows a message conveying that no data is available for accuracy.

When all the phases have been completed successfully, the model goes live! The status/sub-status of the model changes to Live/Monitoring Accuracy.

You can view the descriptions of the fields of Accuracy tab here.