Modified RidgeClassifiers fit() to avoid deprecated attribute .multilabel_