what is the difference between “relative” and “probability” for operator “sample”?

AP
AP Altair Community Member

what is the difference between “relative” and “probability” ?

Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • RolandJones
    RolandJones
    Altair Employee
    edited April 2

    Hi @AP,

    Relative uses an specific value to generate the sample, whereas the probability option uses a probabilistic approach. This means that relative will always produce the requested number of attributes, e.g. requestion 0.1 of 100 will always mean 10 examples, whereas using a probability option could mean a range of values centered around 10.

    Hope this makes sense.

    Thanks,

    Roland

  • AP
    AP Altair Community Member

    “Relative uses an absolute value to generate the sample”,what is the difference between it and “absolute”?

  • RolandJones
    RolandJones
    Altair Employee

    Relative uses a relative value, so 0.1 would take 10% of the total number. For absolute you provide the absolute values, so if you wanted 10 values, you set it to 10.

    Best,

    Roland

  • AP
    AP Altair Community Member

    “Relative uses a relative value, so 0.1 would take 10% of the total number. ”

    —what is the difference between “relative” and “probability” ?

  • RolandJones
    RolandJones
    Altair Employee

    Hi @AP,

    Please see my first answer. Relative will give you a specific value relative to the total number of examples, whereas probability will take a probabilistic approach meaning you are not guaranteed an exact number.

    Example:

    You have 100 examples.

    Setting the option to "relative" with value 0.1 will always give you 10 examples

    Setting the option to "probability" with values 0.1 will sometimes give you 10 examples, or may give you 9, or 11, or 12, and so on.

    Best,

    Roland

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.