Developer Documentation Library > Interviewer - Server > UNICOM Intelligence Interviewer architecture > Interview Service tier > Dialer Interface component > Predictive dialing algorithms > Predict1 and Predict2 algorithms
 
Predict1 and Predict2 algorithms
The Predict1 algorithm returns the number of calls that should be in-dial for the given project and group, based on the connect rate. The Predict2 algorithm returns the number of calls that should be in-dial for the given project and group, based on the connect rate and the number of waiting interviewers. Both algorithms can be used as alternatives to the Predict1PI algorithm and can provide increased performance when supervisors manually control the predict adjust.
Properties used by the Predict1 and Predict2 algorithms
MaxDialCalls
The maximum number of concurrent calls.
MinPredictAnsweredCalls
The minimum number of calls that will be predictively dialed.
MinPredictWaitingInterviewers
The minimum number of currently waiting interviewers.
PredictAdjust
Determines how aggressively to dial. The minimum value is 0, which disables over-dialing; the maximum is 1000; the default is 150.
How the Predict1PI and Predict2 algorithms work
The Predict method is called by a single thread:
When an interviewer requests a new sample
When the dialer reports a call failure
Every 0.5 seconds
Concurrently, other threads are updating the IDialingStatistics object. The algorithms:
1 Calculate statistics for 15 minutes (900 seconds) of call attempts.
2 Takes a snapshot of the current number of active interviewers.
3 Assumes that no over-dialing will take place.
Overdialing
In principle, the return value is:
(Waiting * Attempts / Answered)
This can be formulated in terms of Failed = Attempts - Answered:
(Waiting * (Answered + Failed) / Answered)
The tuning parameter PredictAdjust (percentage) is applied to the failed calls, returning the following:
(Waiting + OverDial)
where:
OverDial = Waiting * (PredictAdjust * Failed / Answered)
Congestion Control
Start limiting if the last dialed call was congested
While limiting, dial one record for every call to this method
Stop limiting when the limit exceeds the prediction
See also
Predictive dialing algorithms