SentimentAnalysis
SentimentAnalysis copied to clipboard
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
运行得到def word2vec_train(combined): print("111111111111") model = Word2Vec(size=vocab_dim, min_count=n_exposures, window=window_size, workers=cpu_count, iter=n_iterations) model.build_vocab(combined) # input: list model.train(combined) 到这里的时候出现:ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() 怎么回事??????