Bi-Data Stream Conversion-percentage sampling and row sampling

Source: Internet
Author: User

Percentage sampling and row sampling can randomly select a group of data from the data source. Both tasks can generate two sets of output,One group is randomly selected, and the other group is not selected. You can send the selected data to the development or test server. The most suitable application of this task is to establish a data mining model and then use the sample data to verify the model.

Edit the task and select the number of rows or percentage to be extracted ,. Percentage Sampling randomly selects data from the data source by percentage, and row sampling randomly selects the number of rows from the data source. You can name selected data and unselected data. The last option is the random sampling parameter. If you select a fixed parameter, the output results are the same each time. If you keep the default settings, You do not select the parameter. Different data is output each time.
Percentage Sampling:

Row sampling:

 

Bi-Data Stream Conversion-percentage sampling and row sampling

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.