1.1 - 8.10 - KModes Syntax - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.1
8.10
Release Date
October 2019
Content Type
Programming Reference
Publication ID
B700-4003-079K
Language
English (United States)

Version 1.9

SELECT * FROM KModes (
  ON { table | view | (query) } AS InputTable
  [ ON { table | view | (query) } AS InitialSeedTable ]
  OUT TABLE OutputTable (output_table)
  USING
  [ NumClusters (clusters [,...] ) ]
  [ ModelIDColumn ('model_id_column') ]
  TargetColumns ('target_column' [,...] )
  [ StopThreshold (threshold) ]
  [ MaxIterNum (max_iterations) ]
  [ NumericDistanceMethod ({ 'euclidean' | 'manhattan' }) ]
  [ CategoricalDistanceMethod ({ 'overlap' | 'hamming' }) ]
  [ CategoryWeights ('weight' [,...] ) ]
  [ NumericAsCategorical ({ 'ascat_column' | ascat_column_range }[,...]) ]
  [ Seed (seed)
    SeedColumns ('seed_column' [,...])
  ]
) AS alias;