Skip to main content
Cloudapps

Help for Sensai

Possible Data Leakage Fields

Last updated:

You need to be careful about which fields to use when training your models. Below are some fields that you need to pay particular attention to.

In statistics and machine learning, leakage (also known as data leakage or target leakage) is the use of information in the model training process that would not be expected to be available at prediction time, causing the predictive scores (metrics) to overestimate the model's utility when run in a production environment.

ObjectFieldComment
OpportunityStageDo not train on this field as it is typically "Closed Won" or "Closed Lost"
OpportunityForecast CategoryDo not train on this field as it is typically "Closed Won" or "Closed Lost"
OpportunityProbabilityDo not train on this field as it will be either 100% or 0%
OpportunityExpected RevenueDo not train on this field as it will be 0 when Closed Lost
OpportunityRecord TypeVery often this is used to lock a record when it is won
OpportunityLast Modified ByThis can often be limited to a few people in a sales ops or finance team that modify the opportunity after it is closed
OpportunityLast Modified DateOpportunities are often modified after they are closed
OpportunityAmountCheck to make sure this is not put to 0 when Closed Lost
AccountRecord TypeCan often be Customer or Prospect
AccountTypeCan often be Customer or Prospect
AccountLast Modified ByThis can often be limited to a few people in a sales ops or finance team that modify the account after it is closed, e.g Type from Prospect to Customer
AccountLast Modified DateAccounts are often modified after an Opportunity is closed