7.00.02 - Example 5: Using Scale Output in KMeans - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Aster Analytics
Release Number
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
English (United States)

This example uses the Scale function to scale data (using the maxabs method) before inputting it to the function KMeans, which outputs the centroids of the clusters in the data set. (Background explains the reason for scaling data before inputting it to a distance-based analysis function like KMeans.)

See Normalizing the Input Variables for an example of using Scale functions to convert input variables into z-scores for use with the Principal Components Analysis (PCA) functions.