$$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Self-defined math definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Math symbol commands
\newcommand{\intd}{\,{\rm d}} % Symbol 'd' used in integration, such as 'dx'
\newcommand{\diff}{{\rm d}} % Symbol 'd' used in differentiation
...
$$
摘要:
from keras.datasets import boston_housing import numpy as np from keras import models from keras import layers import matplotlib.pyplot as plt #x,13个特征,一共404条数据 #y,连续值标签,单位是千美元 (x_train, y_train), (x... 阅读全文
摘要:
from keras.datasets import imdb from keras.utils.np_utils import to_categorical import numpy as np from keras import models from keras import layers import matplotlib.pyplot as plt #one-hot编码 def vec... 阅读全文