scipy.optimize.minimize throws error “ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()”

后端 未结 0 1459
故里飘歌
故里飘歌 2021-01-20 18:49

This is the code that triggers the problem:

import numpy as np
from scipy.optimize import minimize


def find_vector_of_minor_axis_from_chunk(data):
    n = 2         


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