神经网络线性回归
The world of AI is as exciting as it is misunderstood. Buzz words like “Machine Learning” and “Artificial Intelligence” end up skewing not only the general understanding of their capabilities but also key differences between their functionality against other models. In this article, I want to discuss the key differences between a linear regression model and a standard feed-forward neural network. To do this, I will be using the same dataset (which can be found here: https://archive.ics.uci.edu/ml/datasets/Energy+efficiency) for each model and compare the differences in architecture and outcome in Python.
被误解的人工智能世界同样令人兴奋。 诸如“机器学习”和“人工智能”之类的流行语不仅歪曲了他们对功能的一般理解,而且还歪曲了它们与其他模型之间的功能差异。 在本文中,我想讨论线性回归模型与标准前馈神经网络之间的主要区别。 为此,我将对每个模型使用相同的数据集(可在此处找到: https : //archive.ics.uci.edu/ml/datasets/Energy+efficiency ),并比较架构和结果中的差异。Python。
探索性数据分析 (Exploratory Data Analysis)
We are looking at the Energy Efficiency dataset from UCI. In the context of the data, we are working with each column is defined as the following:
我们正在查看UCI的能源效率数据集。 在数据的上下文中,我们正在将每个列定义如下:
X1 — Relative Compactness
X1 —相对紧凑度
X2 — Surface Area
X2 —表面积
X3 — Wall Area
X3 —墙壁区域
X4 — Roof Area
X4 —屋顶面积
X5 — Overall Height
X5 —总高度
X6 — Orientation
X6 —方向
X7 — Glazing Area
X7 —玻璃区
X8 — Glazing Area Distribution
X8 —玻璃面积分布
y1 — Heating Load
y1 —热负荷
y2 — Cooling Load
y2 —冷却负荷
Where our goal is to predict the heating and cooling load based on the X1-X8.
我们的目标是根据X1-X8预测加热和冷却负荷。
Let’s take a look at our dataset in Python…
让我们看一下Python中的数据集…