KNN Syntax - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
uce1497542673292.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1022
lifecycle
previous
Product Category
Software
Version 1.3
SELECT * FROM KNN (
  ON (SELECT 1)
  PARTITION BY 1
  [ Domain ('host:port') ]
  [ Database ('db_name') ]
  [ UserID ('user_id') ]
  [ Password ('password') ]
  [ SSLSettings ('SSLsettings') ]
  [ SSLTrustStorePassword ('SSLtruststorepassword') ]
  TrainingTable ('training_table')
  TestTable ('test_table')
  K (k)
  ResponseColumn ('response_column')
  IDColumn ('test_id_column')
  DistanceFeatures ({ 'df_column' | 'df_column_range' }[,... ])
  [ VotingWeight (voting_weight) ]
  [ OutputTable ('output_table') ]
  [ CustomizedDistance ('jar', 'distance_class') ]
  [ ForceMapreduce
    ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ PartitionBlockSize ('partition_block_size') ]
);
For information about the authentication arguments, see the following topics: