The training samples are first sorted on the values of the attribute Y being considered. There are only a finite number of these values, so let us denote them in sorted order as {v1, v2, …, vm}.
ตัวอย่างการฝึกอบรมจะถูกเรียงลำดับค่าของแอตทริบิวต์ Y การพิจารณาก่อน มีเพียงจำนวนจำกัดค่าเหล่านี้ ดังนั้นให้เราแสดงให้เรียงตามลำดับเป็น {v1, v2,..., vm }