ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all(). while doing KFold Cross validation

后端 未结 0 862
滥情空心
滥情空心 2020-12-30 06:38

I am trying to execute the below code for KFold cross validation:

def evaluate_model(X, Y):
    results = list()
    n_inputs, n_outputs = X.shape[1], Y.shape         


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