The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Answers
The relative options guarantees a certain proportion of the input dataset on output. For example, with 100 examples and a sample ratio of 0.5, I will get 50 examples on output. The probability option instead assigns a probability to each example of it being included in the sample, so you could get in theory and value between 0 and 100. In practice it will likely fall between 50 plus of minus a couple of standard deviations.
Hope this helps.
Best,
Roland