Version 1.5
SELECT * FROM RandomSample (
ON { table | view | (query) } AS InputTable
USING
NumSample (sample_size [,...])
[ WeightColumn ('weight_column') ]
[ SamplingMode ({ 'basic' | 'kmeans++' | 'kmeans||' }) ]
[ Distance ({ 'euclidean' | 'manhattan' }) ]
[ TargetColumns ( { 'target_column' | target_column_range }[,...] ) ]
[ NumericAsCategorical ( { 'ascat_column' | ascat_column_range }[,...] ) ]
[ CategoryWeights (category_weight [,...]) ]
[ CategoricalDistance ({ 'overlap' | 'hamming' }) ]
[ Seed (seed)
SeedColumn ({ 'seed_column' | seed_column_range } [,...])
]
[ OverSamplingRate (rate) ]
[ IterNum (number_of_iterations) ]
[ SetIDAsFirstColumn ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
) AS alias;