TD_OutlierFilterTransform Example | OutlierFilterTransform - Example: How to Use TD_OutlierFilterTransform - Analytics Database

Database Analytic Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-04-06
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
jmh1512506877710
Product Category
Teradata Vantageā„¢

TD_OutlierFilterTransform Input

passenger pclass fare         survived 
--------- ------ ------------ -------- 
        1      3  7.250000000        0
        2      1 71.283300000        1
        3      3  7.925000000        1
        4      1 53.100000000        1
        5      3  8.050000000        0

TD_OutlierFilterTransform SQL Call

SELECT * FROM TD_OutlierFilterTransform (
  ON titanic AS InputTable PARTITION BY ANY
  ON outlier_fit AS FitTable DIMENSION
) AS dt;

TD_OutlierFilterTransform Output

passenger pclass fare         survived 
--------- ------ ------------ -------- 
        1      3  8.050000000        0
        2      1  8.050000000        1
        3      3  7.925000000        1
        4      1 53.100000000        1
        5      3  8.050000000        0