The 'nu' parameter in OCSVM serves a dual purpose: it acts as an upper bound on the fraction of training errors (outliers) and a lower bound on the fraction of support vectors. This parameter, typically ranging from 0 to 1, directly influences the model's sensitivity and the tightness of the decision boundary, with lower values creating stricter boundaries.