Example 1: Input Columns to Predict Income - Teradata Warehouse Miner

In-Database Analytic Functions User Guide

Product
Teradata Warehouse Miner
Release Number
5.4.4
Published
August 2017
Language
English (United States)
Last Update
2018-05-04
dita:mapPath
guj1484331868727.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2306
lifecycle
previous
Product Category
Teradata® Warehouse Miner

In this example, input columns age, years_with_bank, and nbr_children are used to predict income. No permanent output tables are created, just two result data sets that are returned to the user, one with coefficients and statistics, the other with statistical measures.

call twm.td_analyze('linear','database=twm_source;tablename=twm_customer;columns=age,years_with_bank,nbr_children;dependent=income');