在使用神经网络模型预测销量高低时,系统指出模型训练时出现错误:
ValueError Traceback (most recent call last)
<ipython-input-20-e46e29b76a5e> in <module>()
----> 1 model.fit(x, y, epochs=10, batch_size=10) #训练模型
~/anaconda3/lib/python3.6/site-packages/keras/engine/training.py in fit(self, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, **kwargs