ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all(). What is the solution?

前端 未结 0 1604
梦毁少年i
梦毁少年i 2021-02-10 02:44
weights = class_weight.compute_class_weight(\'balanced\',
                                        np.unique(y_train),
                                        y_train)
ba         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题