Num Samples Should Be A Positive Integer