Understand prediction field

The Prediction field uses Zoho's Artificial Intelligence (AI) to predict the value of a field in your form. It analyzes the data in your form, then uses machine learning to create a model that's capable of predicting a field value for all future records

Imagine that you've built an order management app using Creator, and you want to share the expected delivery date with your customers. From experience, you know that the time it takes for an order to be delivered is influenced by factors such as the type of product being ordered (a refrigerator may take more time than a TV to be delivered), the number of units being ordered (quantity), who the delivery partner is (some partners would be prompt, some may be delayed a little intermittently). Here's how you would use the prediction field in this case:

  1. Identify what data point you want to predict. Since you want to estimate the expected delivery date, the prediction's base is "Delivery Date", which is the field that stores the actual date orders are delivered
  2. Identify what data points you want to use for prediction. In this case, the dependent fields are the "Delivery Partner", "Quantity", and "Product Type" fields (as mentioned above).
  3. Ensure that your "Orders" form has as many records as possible. You can have the AI use all the records in that form, or set a criteria to define the records that are to be used for training the model.
  4. Add a prediction field to your form where:
    • "Delivery Date" is the base field
    • "Delivery Partner", "Quantity", and "Product Type" are the dependent fields
    • All or selected records in your form are used as the training data. You can opt to use a specific set of records by defining a criteria.

As its value is estimated by the AI, the prediction field will appear disabled on your form, which indicates to your users that they cannot enter an input in it.

Features

Supported field types

Field types that can be selected as the base and dependent field: number, decimal, percent, currency, drop down, radio, date, and date-time.

Lookup (single-select) and users field support has been deprecated as on 16 May 2022. The models currently created using these two fields will work as usual but new model creation using these two fields will not be possible henceforth owing to the changes in the data model.

Base field and dependent fields

  • Base field is the field for which you want to predict the value
  • Dependent fields are the fields that you want the AI to use for prediction
  • Only the supported field types can be selected as the base and dependent fields
Once added, the prediction's base and dependent fields cannot be changed. However, you can retrain the model.

Model training and retraining

Prediction relies on a substantial amount of data. The AI analyzes your data and "learns" from it to build the model. This model is the one that will predict the field value for all future records. The presence of a large number of records will help the AI to build a more reliable model.

When you add a prediction field to your form, you'll have to define the training data set (the records that the AI will analyze and learn from to create the predictive model). Once the training set is identified, it cannot be changed. However, the prediction model can be retrained.

The status of the model will be reflected in the prediction field's Field Properties:

  • When the model is being trained, you'll see Model training in progress
  • Once the AI has successfully analyzed your data and built the model, the model's Accuracy will appear
  • Since new data is always being generated, we recommend that you periodically retrain your model. This helps in improving the predictive model's reliability (how dependable it is for making the prediction).
    • When you click Retrain, you'll again see Model training is in progress
    • Once the model retraining is successful, you'll see the new model's accuracy
    • If the model training fails, you'll see Model training has failed. Meanwhile, the previous working model will be used for prediction.

Other field properties

Related topics

Still can't find what you're looking for?

Write to us: support@zohocreator.com