######遇到的问题: {NameError}name 'message' is not defined
但是我不知道这个message是哪里来的
```python
# coding=utf-8
import numpy as np
import pandas as pd
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
inputfile = 'C:/Users/王子贤/PycharmProjects/pythonProject2/Data/sales_data.xls'
data = pd.read_excel(inputfile, index_col=u'序号')
data[data == u'好'] = 1
data[data == u'是'] = 1
data[data == u'高'] = 1
data[data != 1] = 0
x = data.iloc[:, :3].values.astype(int)
y = data.iloc[:, 3].values.astype(int)
from keras.models import Sequential
from keras.layers.core import Dense, Activation
model = Sequential()
model.add(Dense(input_dim=3, units=10))
model.add(Activation('relu'))
model.add(Dense(input_dim=10, units=1))
model.add(Activation('sigmoid'))
model.compile(loss='binary_crossentropy', optimizer='adam')
model.fit(x, y, epochs=20, batch_size=10)
# yp = model.predict_classes(x).reshape(len(y)) #分类预测
predict_x = model.predict(x).reshape(len(y))
yp = np.argmax(predict_x)
from cm_plot import *
cm_plot(y, yp).show()
###### 实践内容:根据数据(商店数据文件 sale_data.xls),用ANN方法预测销量,并生成混淆矩阵。