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

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.

主站蜘蛛池模板: 庐江县| 即墨市| 井陉县| 民丰县| 基隆市| 梁山县| 资中县| 榆社县| 门源| 社旗县| 扶余县| 沅江市| 龙门县| 和政县| 江川县| 凯里市| 南昌市| 贡觉县| 潞西市| 阿拉善左旗| 灵川县| 海原县| 岑巩县| 台山市| 牡丹江市| 揭阳市| 子长县| 敦煌市| 彭山县| 平舆县| 惠州市| 阜宁县| 夏邑县| 富民县| 宽甸| 汪清县| 木兰县| 道真| 伊宁县| 江西省| 镇赉县|