The `gamma` parameter for RBF kernels and the `nu` parameter are critical in OCSVM, directly influencing the number of support vectors. Higher `gamma` values increase sensitivity to individual points, leading to more support vectors and a more complex boundary, while `nu` sets a lower bound on the fraction of support vectors.