put a explicit parameter name like:
from sklearn.utils import class_weight
class_weights=class_weight.compute_class_weight(class_weight='balanced',classes=np.unique(y),y=y)
Thank you.
www.marearts.com
put a explicit parameter name like:
Thank you.
www.marearts.com
No comments:
Post a Comment