官术网_书友最值得收藏!

Installing dependencies

First, let's install TensorFlow. It is an open source framework for building Artificial Neural Network (ANN):

pip install tensorflow

You should see the following output, which indicates a successful installation:

We can also manually check the installation. Type python to open the Python prompt on the command line. Once inside the Python prompt, type import tensorflow and hit Enter. You should see the following output:

Type exit() to return to the default command line, keep in mind that we are still inside the ai-projects conda environment.

Next, we are going to install Keras, a wrapper over TensorFlow that makes designing deep neural networks much more intuitive. We continue to use the pip command:

pip install keras

On successful installation, we should see the following output:

To manually check the installation, type python to open the Python prompt on the command line. Once inside the Python prompt, type import keras and hit Enter. You should see the following output, with no errors. Observe that the output mentions that Keras is using TensorFlow as its backend:

Great! We have now installed the main dependencies required to create our very own neural networks. Let's go ahead and build an ANN to predict real estate prices.

主站蜘蛛池模板: 花莲县| 买车| 健康| 肃南| 乌什县| 南木林县| 吉木萨尔县| 大庆市| 阿拉尔市| 霸州市| 中阳县| 阳朔县| 获嘉县| 高清| 孝感市| 石嘴山市| 五莲县| 乌鲁木齐市| 庆元县| 时尚| 灌云县| 清丰县| 平舆县| 奈曼旗| 依兰县| 五河县| 霍林郭勒市| 太康县| 资阳市| 拉萨市| 宜川县| 叶城县| 策勒县| 沐川县| 正宁县| 竹北市| 阿瓦提县| 宁晋县| 仲巴县| 内乡县| 二连浩特市|