Decision Trees and NULL Values | Vantage Analytics Library - Decision Trees and NULL Values - Vantage Analytics Library

Vantage Analytics Library User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Vantage Analytics Library
Release Number
2.2.0
Published
June 2025
ft:locale
en-US
ft:lastEdition
2025-07-02
dita:mapPath
ibw1595473364329.ditamap
dita:ditavalPath
iup1603985291876.ditaval
dita:id
zyl1473786378775
Product Category
Teradata Vantage

The Analytics Library functions decisiontree and decisiontreescore handle NULL values differently.

The decisiontree function uses listwise deletion. That is, if a row has a NULL value for any variable (independent or dependent), the function removes that row from the model-building process.

The decisiontreescore function scores all rows except those that have NULL values for the variable a decision node is testing. For example, if a decision node is "age < 50", the function does not score rows that have NULL values for the age variable, but it does score rows that have NULL values for other variables.