cosmit: doc
raise ValueError for sample_weights and robust regression