• Use Cases
  • /
  • Logistic
  • /
  • Late Delivery Prediction

Late Delivery Prediction

Late Delivery Prediction


When a delivery is made later than expected, it is called a 'late delivery'. With the recent rise in the delivery industry, it has become increasingly important to be able to estimate delivery time and predict late deliveries. This project aims to provide late delivery predictions and find out which factors have a significant impact on late deliveries.

 - Predict the probability of late delivery using delivery data.
 - Look into the features important for late delivery prediction.

Create Model

1. Check Data

[Late Delivery.csv]
 - The data feature consists of 12 columns, such as estimated delivery time, income per order, and delivery delay of each individual cases.
 - The target variable 'delivery delay' has 2 values : 'Late' and 'Not Late'.

2. Build Model |  Create a late delivery prediction model using CLICK AI's structured data category classification

2.1 Model Development

[Main Page → Click on 'Create a new project.']

['Adding data' → Upload data file to Click AI.]

[Select uploaded data file from the dataset list → Click on 'Start AI.']

2.2 Model Configuration

[Select your preferred learning type, preferred method, and the value you would like to analyze/predict.]
 - The target variable 'y' has two values of 'yes' and 'no'. Select 'Structured data classification' as your learning type.
 - To develop a model focused on maximizing its accuracy, select 'with higher accuracy' as your preferred way.
 - Select 'Delivery Delay-Late Delivery.csv' as your value you want to predict.
 - Click on (?) for more details about each options.

2.3 Data Preprocessing

['Summary' → Decide which columns from the data set you would like to use to train the model.]
 - The columns will be automatically unchosen from being used as part of the training data.

[Data Preprocessing → Decide which columns you would like to preprocess.]
 - If you would like to preprocess data, continue by clicking on 'Preprocessing.'

[Choose preferred preprocessing methods and click 'confirm.']

['Data' → View your data file.]

2.4 Model Generation

[After all of the above steps are completed, press the 'Start' button to begin processing the AI model.]

[All of the processed models will appear in the list at the bottom of the page. You may sort the models according to RMSE, errorRate or Mase.]

3. View Details | Identify important factors for your model

- Let's find out the factors that have the biggest impact on the predictions.

[Training Model 89 → Click on 'Details.']
 - View details of the [Training Model 89] with the highest accuracy.

[Feature Importance → See which indices are important for the prediction model. Additional information are available throughout the different tabs.]

[ eXplainable AI ]
 - Estimated delivery time was analyzed to have the biggest impact on late deliveries. The location being shipped from, shipping type, and seller also displayed significant impacts on the predictions.
 - You may explore through additional details and statistics on the 'Details' page.

[API Connection→ You can connect model results through API connections.]
  - API sources are available for multiple programming languages.

4. Analyze Data | Analyze features to derive insights from data

[Training Model 89 → Click on 'Analyze']
 - View data analysis of the [Training Model 89] with the highest accuracy.

[AI+ Analysis]
 - The AI+ analysis feature provides analysis and visualization of the data, aimed to help  users better understand statistical information.
 - Top 5 indices highly associated with late deliveries are organized for users.

[Visualized information such as histograms and distribution charts are available for users.]

5. Predict Data | Make single or multiple predictions using your model

5.1 Single Prediction
 - Predict late deliveries for each individual cases by entering individual case information.

[Training Model 89→ Click on 'Single prediction']
 - Make single predictions using the [Training Model 89] with the highest accuracy.
 - 'Fill in random values' feature automatically fills all of the parameters randomly. After checking that all of the parameters have been filled appropriately, click 'Run' to proceed.

[The predicted result is displayed on the right.]
 - You may also manually enter values to make predictions.
 - If a value is out of range, the value will appear red.

5.2 Collective Prediction 
- Enter data to the downloaded collective prediction template, and run late delivery predictions for multiple cases.

[Training Model 89→ Click on 'Collective prediction']
 - Make collective predictions using the [Training Model 89] with the highest accuracy.

[Click on 'Download template for prediction' to download the prediction template.]

[Enter values to the prediction template (left), and prepare a prediction data set (right) to feed into the prediction model.]

[Upload the prepared prediction data, and proceed by pressing on 'Next'.]

[Prediction results will be available on a new csv file. The last column displays the prediction results for each employee  information.]
 - Collective prediction may require some time. You can download the prediction results from the notifications tab after completion.

5.3 Auto-Labeling
 - Enter data to the downloaded auto-labeling template, and run late delivery predictions for multiple cases.
 - Auto-labeling prediction will automatically preprocess data as needed.

[Training Model 89 → Click on 'Auto-labeling]
 - Make auto-labeling predictions using the [Training Model 89] with the highest accuracy.

[Click on 'Download template for prediction' to download the prediction template.]

[Enter values to the prediction template (left), and prepare a prediction data set (right) to feed into the prediction model.]

[Upload the prepared prediction data, and proceed by pressing on 'Next'.]

[Prediction results will be available on a new csv file. The last column displays the prediction results for each customer information.]
 - Auto-labeling prediction may require some time to complete. You can download the prediction results from the notifications tab after completion.

6. Share | Share your AI model with API

[Training Model 89 → Click on 'Details']

[Sharing your service app]
 - The URL link will direct you to shared page of the model.
 - Share your model using the URL link.
 - Others may have access to your model through the URL link. If somebody uses the model to make predictions, it will be counted from your prediction count.
 - 'Analyze' feature offers both explainable AI and visualizations on the shared link.
 - You can put your AI model on sale by using the AI store. For details, please check AI 스토어.

Consult with an expert now.

Consult with an expert now.