Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
need help
paradoja
thanx
Find more posts tagged with
AI Studio
Accepted answers
All comments
BalazsBaranyRM
Hi!
Macros are textual variables that can be set in a process or in the process context. You probably have a macro called
fraction
which contains a number like 0.5 to determine the sample fraction.
When you look at the Sample operator, it has a parameter called
sample
. Here you can select absolute, relative and probability sampling.
Absolute allows you to set the exact number of resulting rows.
Relative samples a ratio (or
fraction
) of the original data.
Probability selects each element of the incoming data with the specified probability, so the result will be about (but not exactly) the specified fraction of the data.
You just need to select the sampling method you need and enter the parameter value. Parameter values can be entered directly (e. g. 0.3) or with macros (e. g. %{fraction} ).
Regards,
Balázs
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups