Research Article

Service-Life Study of Polycarbonate Outdoors Using Python with Incomplete Data

Algorithm 3

Pick_a_random_split()
Inputs: a subset and an attribute
Output: a split
–Let and denote the maximal and minimal value of in ;
–Draw a random cut-point uniformly in [,];
Return the split [].
Stop_split()
Input: a subset
Output: a boolean
If < , then return TRUE;
If all attributes are constant in , then return TRUE;
If the output is constant in , then return TRUE;
Otherwise, return FALSE.