RandomSample - 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

The RandomSample function takes a data set and uses a specified sampling method to output one or more random samples. Each sample has exactly the number of rows specified.

The RandomSample function is useful for generating test sets, training sets, and initial centers for clustering algorithms.

In addition to the default basic sampling, in which each input table row has a probability of being selected that is proportional to its weight, this function provides two alternate methods, KMeans++ and KMeans||, which are designed for generating a set of initial seeds for the function KMeans.

This function does not work in an SSL-enabled cluster.