Examples | Linear Regression Scoring | Vantage Analytics Library - Examples - 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

Scoring without Model Evaluation

call td_analyze (
  'linearscore',
  'database = val_source;
   tablename = customer;
   modeldatabase = val_database;
   modeltablename = linear2;
   outputdatabase = val_results;
   outputtablename = linear_score2;
   predicted = inc;'
);

Model Evaluation without Scoring

call td_analyze (
  'linearscore',
  'database = val_source;
   tablename = customer;
   modeldatabase = val_database;
   modeltablename = linear2;
   scoringmethod = evaluate;'
);

Scoring and Model Evaluation

call td_analyze (
  'linearscore',
  'database = val_source;
   tablename = customer;
   modeldatabase = val_database;
   modeltablename = linear2;
   outputdatabase = val_results;
   outputtablename = linear_score2_se;
   scoringmethod = scoreandevaluate;
   predicted = inc;
   residual = res;'
);